1、版本修改

命令: npm install npm@版本号 -g

2、安装淘宝镜像

npm install -g cnpm --registry=https://registry.npm.taobao.org

3、node-sass安装失败

主要是windows平台缺少编译环境。 命令: npm install -g node-gyp 安装好环境后npm install

4、

npm使用及错误解决

解决:1)删除package.lock.json

         2)清除cache:npm cache clean --force

 

相关文章:

  • 2021-07-19
  • 2022-01-28
  • 2021-09-14
  • 2021-12-03
  • 2021-12-24
  • 2021-12-20
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-01-06
  • 2021-08-27
  • 2021-08-16
  • 2022-12-23
  • 2019-11-18
  • 2022-12-23
  • 2021-05-30
相关资源
相似解决方案