D:\vuejsqimo\devtools-5.1.1\vue_shop\src\components\HelloWorld.vue 16:8 error Parsing error: nested-comment vue/no-parsing-error ✖ 1 problem (1 error, 0 warnings) You may use special comments to disable some warnings. Use // eslint-disable-next-line to ignore the next line. Use /* eslint-disable */ to ignore all warnings in a file. error in ./src/lib/mui/css/icons-extra.css Module not found: Error: Can't resolve '../fonts/mui-icons-extra.ttf' in 'D:\vuejsqimo\devtools-5.1.1\vue_shop\src\lib\mui\css' ERROR in ./src/lib/mui/css/icons-extra.css (./node_modules/css-loader/dist/cjs.js??clonedRuleSet-14.use[1]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-14.use[2]!./src/lib/mui/css/icons-extra.css) 5:36-92 Module not found: Error: Can't resolve '../fonts/mui-icons-extra.ttf' in 'D:\vuejsqimo\devtools-5.1.1\vue_shop\src\lib\mui\css' @ ./src/lib/mui/css/icons-extra.css 4:14-194 15:3-20:5 16:22-202 @ ./src/main.js 6:0-39 ERROR in [eslint] D:\vuejsqimo\devtools-5.1.1\vue_shop\src\components\HelloWorld.vue 16:8 error Parsing error: nested-comment vue/no-parsing-error ✖ 1 problem (1 error, 0 warnings) webpack compiled with 2 errors
时间: 2024-04-28 12:21:58 浏览: 124
As mentioned before, you have two issues in your code.
The first error is related to a missing module in the icons-extra.css file. It seems like the file is trying to import a font file '../fonts/mui-icons-extra.ttf' but it can't find it. You may need to check your file structure and make sure the font file exists in the correct location.
The second error is related to a parsing error in the HelloWorld.vue file. It seems like there is a nested comment or some other syntax issue that is causing the parser to fail. You may need to review the code in that file and make sure all syntax and comments are properly formatted.
You can use special comments to disable some warnings. Use // eslint-disable-next-line to ignore the next line. Use /* eslint-disable */ to ignore all warnings in a file. However, it's important to note that disabling warnings should be done with caution as it can lead to missed errors or bad practices.
阅读全文