npm install
npm WARN css-loader@1.0.1 requires a peer of webpack@^4.0.0 but none is installed. You must install peer dependencies yourself.
audited 14682 packages in 8.843s
found 3 moderate severity vulnerabilities
run `npm audit fix` to fix them, or `npm audit` for details
解决办法:npm install webpack@^4.0.0 -g
本文详细描述了在使用css-loader时遇到的与webpack版本不匹配的问题,并提供了具体的解决方案,即通过安装指定版本的webpack来修复依赖问题。
1322

被折叠的 条评论
为什么被折叠?



