A complete log of this run can be found in: /Users/xxx/.npm/_logs/2024-03-26T10_02_49_810Z-debug-0.log
在使用vue create xxx创建vue3项目的时候报错。

解决方法,之前使用的https://registry.npm.taobao.org 证书过期更换镜像地址即可
操作如下:
1.cd ~
2.执行rm .npmrc
3. sudo npm install -g cnpm --registry=http://registry.npmmirror.com
使用vue create xxx创建vue3项目时出现报错,完整日志可在指定路径查看。解决方法是更换镜像地址,因之前使用的https://registry.npm.taobao.org证书过期,需进行相应操作。
4167

被折叠的 条评论
为什么被折叠?



