node 12.22.12
npm 6.14.4
######
node 16.19.1
npm install -g npm@9.6.1
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: ferry_web@1.0.0
npm ERR! Found: webpack@4.46.0
npm ERR! node_modules/webpack
npm ERR! webpack@"^4.0.0" from @vue/cli-plugin-eslint@3.12.1
npm ERR! node_modules/@vue/cli-plugin-eslint
npm ERR! dev @vue/cli-plugin-eslint@"^3.9.1" from the root project
npm ERR! peer webpack@"^1.0.0 || ^2.0.0 || ^3.0.0 || ^4.0.0" from html-webpack-plugin@3.2.0
npm ERR! node_modules/html-webpack-plugin
npm ERR! dev html-webpack-plugin@"3.2.0" from the root project
npm ERR! html-webpack-plugin@"^3.2.0" from @vue/cli-service@3.5.3
npm ERR! node_modules/@vue/cli-service
npm ERR! dev @vue/cli-service@"3.5.3" from the root project
npm ERR! 2 more (script-ext-html-webpack-plugin, svg-sprite-loader)
npm ERR! 3 more (monaco-editor-webpack-plugin, sass-loader, script-ext-html-webpack-plugin)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! vue-loader@"^15.9.3" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: webpack@5.76.0
npm ERR! node_modules/webpack
npm ERR! peer webpack@"^5.0.0" from css-loader@6.7.3
npm ERR! node_modules/css-loader
npm ERR! peer css-loader@"*" from vue-loader@15.10.1
npm ERR! node_modules/vue-loader
npm ERR! vue-loader@"^15.9.3" 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!
npm ERR! For a full report see:
npm ERR! /Users/admin/.npm/_logs/2023-03-10T11_35_29_238Z-eresolve-report.txt
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/admin/.npm/_logs/2023-03-10T11_35_29_238Z-debug-0.log
npm install --legacy-peer-deps
ferry报错解决
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。
推荐阅读更多精彩内容
- 一、报错“商家参数格式有误,请联系商家解决”解决方案: 1、背景: 我方开发了一套h5商城,购买、下单、唤起微信进...
- 在对安全性要求比较高的报文做加密的时候,算法有很多种,我这里主要用到的就是AES加密算法。由于在国内使用,所以不可...
- vuex2中的mapGetters报语法错误,报错的位置: ...mapGetters,一下是是一个todoli...
- 老样子我们还是遵循问题的三个方面来剖析和解决问题【1】是什么【2】为什么【3】怎么做 【1】gitHub是什么(老...
- 换位置进行git clone时,输入密码回车后出现了一下错误提示,这是输错了账号密码导致的提示解决方案有两种 个人...