升级vue出现的问题

173 阅读1分钟

1,出现python错误

解决:需要安装python

2,出现

node-gyp 编译失败问题,或者Could not find any Visual Studio installation to use

解决:查看镜像源是否为npm, 不是的话需要切换为npm源、

查看npm相关配置,并调整为官方源

npm config list

npm config set registry="https://registry.npmjs.org/"

===