目录
步骤1
步骤2
步骤3
补充:
解决方法:
node-scss安装失败解决办法
步骤1
安装npm
步骤2
切换淘宝镜像
#最新地址 淘宝 NPM 镜像站喊你切换新域名啦!
npm config set registry https://registry.npmmirror.com
步骤3
安装vue-cli
npm install -g @vue/cli
补充:
安装的时候报错:
npm ERR! code CERT_HAS_EXPIRED
npm ERR! errno CERT_HAS_EXPIRED
npm ERR! request to https://registry.npm.taobao.org/vue-loader failed, reason: certificate has expirednpm ERR! A complete log of this run can be found in:
解决方法:
取消ssl验证
npm config set strict-ssl false
重新安装
npm install -g @vue/cli
node-scss安装失败解决办法
写在node-scss
npm uninstall node-sass
安装dart-scss
将node-sass升级为dart-sass,踩坑实录_node-sass": "npm:dart-sass-CSDN博客https://blog.csdn.net/weixin_44466651/article/details/120744431