安装依赖报错: ERESOLVE unable to resolve dependency tree 处理

在使用npm安装依赖的时候控制台报错: npm ERR! ERESOLVE unable to resolve dependency tree

 

解决方法
在npm install 中加入 --legacy-peer-deps 或者 --force

npm install --legacy-peer-deps
npm install --force

 

 

posted @ 2024-03-13 11:39  龙卷风吹毁停车场  阅读(372)  评论(0)    收藏  举报