解决npm npm does not support Node.js

解决npm npm does not support Node.js
强烈推介IDEA2020.2破解激活,IntelliJ IDEA 注册码,2020.2 IDEA 激活码

解决npm npm does not support Node.js

  1.   npm-check检查更新

      npm install -g npm-check
      npm-check
  2.  npm-upgrade更新
      npm install -g npm-upgrade
      npm-upgrade

  3.  更新全局包:
      npm update <name> -g

  4.  更新生产环境依赖包:
      npm update <name> --save

  5.  更新开发环境依赖包:
      npm update <name> --save-dev

本文来源huayang183,由架构君转载发布,观点不代表Java架构师必看的立场,转载请标明来源出处:https://javajgs.com/archives/18715

发表评论