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