Introduction to VPS and Web Technology Development

npm ERR! to accept an incorrect (and potentially broken) dependency resolution. npm ERR! npm ERR! See /root/.npm/eresolve-report.txt for a full report. npm ERR! A complete log of this run can be found in:

自由vps 常用代码案例
ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: chatgpt-nuxt@0.0.1
npm ERR! Found: vue@3.2.47
npm ERR! node_modules/vue
npm ERR!   peer vue@"3.x" from @icon-park/vue-next@1.4.2
npm ERR!   node_modules/@icon-park/vue-next
npm ERR!     @icon-park/vue-next@"^1.4.2" from the root project
npm ERR!   vue@"^3.2.47" from nuxt@3.3.3
npm ERR!   node_modules/nuxt
npm ERR!     dev nuxt@"3.3.3" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! pinia@"^2.0.34" from the root project
npm ERR! 
npm ERR! Conflicting peer dependency: vue@2.6.14
npm ERR! node_modules/vue
npm ERR!   peer vue@">= 2.5 < 2.7" from @vue/composition-api@1.7.1
npm ERR!   node_modules/@vue/composition-api
npm ERR!     peerOptional @vue/composition-api@"^1.4.0" from pinia@2.0.34
npm ERR!     node_modules/pinia
npm ERR!       pinia@"^2.0.34" 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 /root/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2023-04-14T22_07_50_499Z-debug-0.log
[root@iZj6c6r36jb1q9uey0fypyZ chatgpt-nuxt]# npm update
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: chatgpt-nuxt@0.0.1
npm ERR! Found: vue@3.2.47
npm ERR! node_modules/vue
npm ERR!   peer vue@"3.x" from @icon-park/vue-next@1.4.2
npm ERR!   node_modules/@icon-park/vue-next
npm ERR!     @icon-park/vue-next@"^1.4.2" from the root project
npm ERR!   vue@"^3.2.47" from nuxt@3.3.3
npm ERR!   node_modules/nuxt
npm ERR!     dev nuxt@"3.3.3" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! pinia@"^2.0.34" from the root project
npm ERR! 
npm ERR! Conflicting peer dependency: vue@2.6.14
npm ERR! node_modules/vue
npm ERR!   peer vue@">= 2.5 < 2.7" from @vue/composition-api@1.7.1
npm ERR!   node_modules/@vue/composition-api
npm ERR!     peerOptional @vue/composition-api@"^1.4.0" from pinia@2.0.34
npm ERR!     node_modules/pinia
npm ERR!       pinia@"^2.0.34" 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 /root/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2023-04-14T22_08_21_241Z-debug-0.log



查看日志
 error
91 error Fix the upstream dependency conflict, or retry
91 error this command with --force, or --legacy-peer-deps
91 error to accept an incorrect (and potentially broken) dependency resolution.
91 error
91 error See /root/.npm/eresolve-report.txt for a full report.
92 verbose exit 1
93 timing npm Completed in 7279ms
94 verbose unfinished npm timer reify 1681510410838
95 verbose unfinished npm timer reify:loadTrees 1681510410852
96 verbose unfinished npm timer idealTree:buildDeps 1681510410939
97 verbose unfinished npm timer idealTree:#root 1681510410940


重新运行
 npm install --force, or --legacy-peer-deps
问题解决

使用chatGPT寻求答案
标签: 暂无标签

免责声明:

本站提供的资源,都来自网络,版权争议与本站无关,所有内容及软件的文章仅限用于学习和研究目的。不得将上述内容用于商业或者非法用途,否则,一切后果请用户自负,我们不保证内容的长久可用性,通过使用本站内容随之而来的风险与本站无关,您必须在下载后的24个小时之内,从您的电脑/手机中彻底删除上述内容。如果您喜欢该程序,请支持正版软件,购买注册,得到更好的正版服务。侵删请致信E-mail:master@freevpsweb.com

同类推荐
评论列表