解决方案

npm sill idealTree buildDeps一直安装不动

2024-08-07 17:39:37 michael007js 112

npm sill idealTree buildDeps一直安装不动

1、删除npmsrc文件,用如下命令找到存放位置

npm config get userconfig

2、清除缓存

npm cache clean --force

3、设置镜像源,淘宝的https://registry.npm.taobao.org已经凉了

npm config set registry https://registry.npmmirror.com

4、查看一下,看看换没换成功

npm config get registry

5、执行install

npm install --legacy-peer-deps

6、执行打包

npm run build:prod


首页
关于博主
我的博客
搜索