npm ERR! While resolving: cisplatform@3.8.1
npm ERR! Found: webpack@4.46.0
npm ERR! node_modules/webpack
npm ERR! peer webpack@“^4.0.0” from @intervolga/optimize-cssnano-plugin@1.0.6
npm ERR! node_modules/@intervolga/optimize-cssnano-plugin
npm ERR! @intervolga/optimize-cssnano-plugin@“^1.0.5” from @vue/cli-service@4.4.6
npm ERR! node_modules/@vue/cli-service
npm ERR! peer @vue/cli-service@“^3.0.0 || ^4.0.0-0” from @vue/cli-plugin-babel@4.4.6
npm ERR! node_modules/@vue/cli-plugin-babel
npm ERR! dev @vue/cli-plugin-babel@“4.4.6” from the root project
npm ERR! 4 more (@vue/cli-plugin-eslint, @vue/cli-plugin-router, …)
npm ERR! peer webpack@“^4.0.0 || ^5.0.0” from @soda/friendly-errors-webpack-plugin@1.8.1
npm ERR! node_modules/@soda/friendly-errors-webpack-plugin
npm ERR! @soda/friendly-errors-webpack-plugin@“^1.7.1” from @vue/cli-service@4.4.6
npm ERR! node_modules/@vue/cli-service
npm ERR! peer @vue/cli-service@“^3.0.0 || ^4.0.0-0” from @vue/cli-plugin-babel@4.4.6
npm ERR! node_modules/@vue/cli-plugin-babel
npm ERR! dev @vue/cli-plugin-babel@“4.4.6” from the root project
npm ERR! 4 more (@vue/cli-plugin-eslint, @vue/cli-plugin-router, …)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! dev html-webpack-plugin@“" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: webpack@5.75.0
npm ERR! node_modules/webpack
npm ERR! peer webpack@“^5.20.0” from html-webpack-plugin@5.5.0
npm ERR! node_modules/html-webpack-plugin
npm ERR! dev html-webpack-plugin@"
” from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See C:\Users\arlen\AppData\Local\npm-cache\eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\arlen\AppData\Local\npm-cache_logs\2022-11-12T12_12_08_971Z-debug-0.log

npm install --save-dev html-webpack-plugin --legacy-peer-deps

Logo

华为开发者空间,是为全球开发者打造的专属开发空间,汇聚了华为优质开发资源及工具,致力于让每一位开发者拥有一台云主机,基于华为根生态开发、创新。

更多推荐