“npm install”在尝试构建 sync

编程入门 行业动态 更新时间:2024-10-05 07:21:53

“<a href=https://www.elefans.com/category/jswz/34/1771446.html style=npm install”在尝试构建 sync"/>

“npm install”在尝试构建 sync

我正在尝试构建这个云同步服务器:

运行时

npm install
我得到这些错误:

npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: [email protected] npm ERR! Found: [email protected] npm ERR! node_modules/grunt npm ERR!   dev grunt@"^1.0.1" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer grunt@"~0.4.5" from [email protected] npm ERR! node_modules/grunt-typescript npm ERR!   dev grunt-typescript@"^0.8.0" 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 --force npm --legacy-peer-deps npm audit fix npm audit fix --force

我什至尝试了不同的节点版本:v14 告诉我升级到 v16 或更高版本,但即使是 16-20 也给出同样的错误...

有什么想法吗?

非常感谢!

我用我的微薄知识尝试了我所知道的一切:

npm --force npm --legacy-peer-deps npm audit fix npm audit fix --force

我什至尝试了不同的节点版本:v14 告诉我升级到 v16 或更高版本,但即使是 16-20 也给出同样的错误...

有什么想法吗?

非常感谢!

回答如下:

更多推荐

“npm install”在尝试构建 sync

本文发布于:2024-05-30 19:57:39,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1770864.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:npm   install   sync

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!