最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

“npm install”在尝试构建 sync

网站源码admin32浏览0评论

“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 也给出同样的错误...

有什么想法吗?

非常感谢!

回答如下:
发布评论

评论列表(0)

  1. 暂无评论