以下是报错代码. 第一条error中的.7z压缩文件是WjAutoComplete.7z,我已经在components解压了,剩下一些Sass得warning我没弄掉,控制台打印如下
- ERROR 10:18:42 [vite] Pre-transform error: Failed to parse source for import analysis because the content contains invalid JS syntax. You may need to install appropriate plugins to handle the .7z file format, or if it's an asset, add "**/*.7z" to assetsInclude in your configuration.
- Deprecation Warning: Sass's behavior for declarations that appear after nested
- rules will be changing to match the behavior specified by CSS in an upcoming
- version. To keep the existing behavior, move the declaration above the nested
- rule. To opt into the new behavior, wrap the declaration in `& {}`.
- More info: https://sass-lang.com/d/mixed-decls
- ╷
- 94 │ ┌ & > i {
- 95 │ │ display: block;
- 96 │ │ }
- │ └─── nested rule
- 97 │ color: var(--vxe-primary-color);
- │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ declaration
- ╵
- node_modules\.pnpm\vxe-table@4.6.18_vue@3.3.4\node_modules\vxe-table\styles\export.scss 97:7 @import
- node_modules\.pnpm\vxe-table@4.6.18_vue@3.3.4\node_modules\vxe-table\styles\modules.scss 8:9 @import
- node_modules\.pnpm\vxe-table@4.6.18_vue@3.3.4\node_modules\vxe-table\styles\default.scss 3:9 @import
- node_modules\.pnpm\vxe-table@4.6.18_vue@3.3.4\node_modules\vxe-table\styles\index.scss 4:9 @import
- src\components\VxeTable\src\css\index.scss 5:9 root stylesheet
- Deprecation Warning: Sass's behavior for declarations that appear after nested
- rules will be changing to match the behavior specified by CSS in an upcoming
- version. To keep the existing behavior, move the declaration above the nested
- rule. To opt into the new behavior, wrap the declaration in `& {}`.
- More info: https://sass-lang.com/d/mixed-decls
- ┌──> node_modules\.pnpm\vxe-table@4.6.18_vue@3.3.4\node_modules\vxe-table\styles\custom.scss
- 88 │ overflow: hidden;
- │ ^^^^^^^^^^^^^^^^ declaration
- ╵
- ┌──> node_modules\.pnpm\vxe-table@4.6.18_vue@3.3.4\node_modules\vxe-table\styles\helpers\mixin.scss
- 40 │ ┌ .vxe-checkbox--label {
- 41 │ │ padding-left: 0.5em;
- 42 │ │ vertical-align: middle;
- 43 │ │ }
- │ └─── nested rule
- ╵
- node_modules\.pnpm\vxe-table@4.6.18_vue@3.3.4\node_modules\vxe-table\styles\custom.scss 88:3 @import
- node_modules\.pnpm\vxe-table@4.6.18_vue@3.3.4\node_modules\vxe-table\styles\modules.scss 9:9 @import
- node_modules\.pnpm\vxe-table@4.6.18_vue@3.3.4\node_modules\vxe-table\styles\default.scss 3:9 @import
- node_modules\.pnpm\vxe-table@4.6.18_vue@3.3.4\node_modules\vxe-table\styles\index.scss 4:9 @import
- src\components\VxeTable\src\css\index.scss 5:9 root stylesheet
- Deprecation Warning: Sass's behavior for declarations that appear after nested
- rules will be changing to match the behavior specified by CSS in an upcoming
- version. To keep the existing behavior, move the declaration above the nested
- rule. To opt into the new behavior, wrap the declaration in `& {}`.
- More info: https://sass-lang.com/d/mixed-decls
- ┌──> node_modules\.pnpm\vxe-table@4.6.18_vue@3.3.4\node_modules\vxe-table\styles\custom.scss
- 89 │ text-overflow: ellipsis;
- │ ^^^^^^^^^^^^^^^^^^^^^^^ declaration
- ╵
- ┌──> node_modules\.pnpm\vxe-table@4.6.18_vue@3.3.4\node_modules\vxe-table\styles\helpers\mixin.scss
- 40 │ ┌ .vxe-checkbox--label {
- 41 │ │ padding-left: 0.5em;
- 42 │ │ vertical-align: middle;
- 43 │ │ }
- │ └─── nested rule
- ╵
- node_modules\.pnpm\vxe-table@4.6.18_vue@3.3.4\node_modules\vxe-table\styles\custom.scss 89:3 @import
- node_modules\.pnpm\vxe-table@4.6.18_vue@3.3.4\node_modules\vxe-table\styles\modules.scss 9:9 @import
- node_modules\.pnpm\vxe-table@4.6.18_vue@3.3.4\node_modules\vxe-table\styles\default.scss 3:9 @import
- node_modules\.pnpm\vxe-table@4.6.18_vue@3.3.4\node_modules\vxe-table\styles\index.scss 4:9 @import
- src\components\VxeTable\src\css\index.scss 5:9 root stylesheet
- Deprecation Warning: Sass's behavior for declarations that appear after nested
- rules will be changing to match the behavior specified by CSS in an upcoming
- version. To keep the existing behavior, move the declaration above the nested
- rule. To opt into the new behavior, wrap the declaration in `& {}`.
- More info: https://sass-lang.com/d/mixed-decls
- ┌──> node_modules\.pnpm\vxe-table@4.6.18_vue@3.3.4\node_modules\vxe-table\styles\custom.scss
- 90 │ white-space: nowrap;
- │ ^^^^^^^^^^^^^^^^^^^ declaration
- ╵
- ┌──> node_modules\.pnpm\vxe-table@4.6.18_vue@3.3.4\node_modules\vxe-table\styles\helpers\mixin.scss
- 40 │ ┌ .vxe-checkbox--label {
- 41 │ │ padding-left: 0.5em;
- 42 │ │ vertical-align: middle;
- 43 │ │ }
- │ └─── nested rule
- ╵
- node_modules\.pnpm\vxe-table@4.6.18_vue@3.3.4\node_modules\vxe-table\styles\custom.scss 90:3 @import
- node_modules\.pnpm\vxe-table@4.6.18_vue@3.3.4\node_modules\vxe-table\styles\modules.scss 9:9 @import
- node_modules\.pnpm\vxe-table@4.6.18_vue@3.3.4\node_modules\vxe-table\styles\default.scss 3:9 @import
- node_modules\.pnpm\vxe-table@4.6.18_vue@3.3.4\node_modules\vxe-table\styles\index.scss 4:9 @import
- src\components\VxeTable\src\css\index.scss 5:9 root stylesheet
- Deprecation Warning: Sass's behavior for declarations that appear after nested
- rules will be changing to match the behavior specified by CSS in an upcoming
- version. To keep the existing behavior, move the declaration above the nested
- rule. To opt into the new behavior, wrap the declaration in `& {}`.
- More info: https://sass-lang.com/d/mixed-decls
- ┌──> node_modules\.pnpm\vxe-table@4.6.18_vue@3.3.4\node_modules\vxe-table\styles\custom.scss
- 91 │ flex-grow: 1;
- │ ^^^^^^^^^^^^ declaration
- ╵
- ┌──> node_modules\.pnpm\vxe-table@4.6.18_vue@3.3.4\node_modules\vxe-table\styles\helpers\mixin.scss
- 40 │ ┌ .vxe-checkbox--label {
- 41 │ │ padding-left: 0.5em;
- 42 │ │ vertical-align: middle;
- 43 │ │ }
- │ └─── nested rule
- ╵
- node_modules\.pnpm\vxe-table@4.6.18_vue@3.3.4\node_modules\vxe-table\styles\custom.scss 91:3 @import
- node_modules\.pnpm\vxe-table@4.6.18_vue@3.3.4\node_modules\vxe-table\styles\modules.scss 9:9 @import
- node_modules\.pnpm\vxe-table@4.6.18_vue@3.3.4\node_modules\vxe-table\styles\default.scss 3:9 @import
- node_modules\.pnpm\vxe-table@4.6.18_vue@3.3.4\node_modules\vxe-table\styles\index.scss 4:9 @import
- src\components\VxeTable\src\css\index.scss 5:9 root stylesheet
- Warning: 8 repetitive deprecation warnings omitted.
复制代码 |