首页 > 其他 > 详细

前段汇总

时间:2020-05-21 01:00:23      阅读:87      评论:0      收藏:0      [点我收藏+]
  • 设置npm的源 不使用cnpm命令,直接设置NPM为淘宝镜像
    npm config set registry https://registry.npm.taobao.org
    然后验证
    npm config get registry
  • 全局删除npm安装模块 http://www.imooc.com/wenda/detail/605712
  • 设置全局模块安装位置和缓存位置
      npm config set prefix "D:\nodejs\node_global"
      npm config set cache "D:\nodejs\node_cache"
  • 查看全局安装过的模块
    npm list --depth=0 -global
  • 报错:
Errors: 2 http://eslint.org/docs/rules/semi 1 http://eslint.org/docs/rules/eol-last 1 http:

前段汇总

原文:https://www.cnblogs.com/Baronboy/p/12927302.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!