- 博客(2)
- 收藏
- 关注
原创 https://registry.npm.taobao.org/xxx-xxx-xxx error (CERT_HAS_EXPIRED).
就行了,我试着执行了一下 npm config set registry https://registry.npmmirror.com,但是没用,还是报错,这回报错信息变成了:This modules directory was created using the following registries configuration: {"default":"https:/...看了一下,说是镜像没有变过来,还是之前旧的镜像,又把pnpm-lock.yaml文件中的旧镜像换成了新的镜像。
2024-05-30 15:48:11
206
原创 pnpm install 报错ERR_PNPM_READ_FROM_STORE
因为之前就用过pnpm,执行pnpm install也没问题,为什么突然就报错了呢?node版本没错,pnpm也全局安装了,镜像也配置了,到底问题出在哪儿,然后持续一段时间就是循环“删除node_modules文件,重新运行pnpm install命令”这个过程。之后又用npm试了一下,npm install没问题,npm run dev也没问题,那就是pnpm的问题了。我以为要卸载pnpm重新安装,就开始搜pnpm卸载的教程(没卸载过,感觉任何东西卸载重装都好麻烦),直到我看到了。,然后试着执行了一下。
2024-01-31 17:24:55
1721
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人