npm WARN invalid config registry=“[https://registry.npm.taobao.org]“ set in C:\Users\liujieya\.npmrc
●错误如下PS C:\Users\liujieya\Desktop\Demo1\项目\vue-manage> npm run servenpm WARN invalid config registry="[https://registry.npm.taobao.org]" set in C:\Users\liujieya.npmrcnpm WARN invalid config Must b
●错误如下
PS C:\Users\liujieya\Desktop\Demo1\项目\vue-manage> npm run serve
npm WARN invalid config registry="[https://registry.npm.taobao.org]" set in C:\Users\liujieya.npmrc
npm WARN invalid config Must be full url with “http://”
npm WARN invalid config registry="[https://registry.npm.taobao.org]"
npm WARN invalid config Must be a full url with ‘http://’
●解决方法如下:
npm config set strict-ssl false
npm config set registry http://registry.npm.taobao.org
npm run serve
PS C:\Users\liujieya\Desktop\Demo1\项目\vue-manage> npm config set strict-ssl false
PS C:\Users\liujieya\Desktop\Demo1\项目\vue-manage> npm config set registry http://registry.npm.taobao.org
PS C:\Users\liujieya\Desktop\Demo1\项目\vue-manage> npm run serve
更多推荐
所有评论(0)