1.通过config命令npm config set registry https://registry.npm.taobao.org npm info underscore (如果上面配置正确这个命令会有字符串response)2.命令行指定npm --registry https://registry.npm.taobao.org info underscore 3.编辑 ~/.npmrc 加入下面内容registry = htt [更多>>]
Copyright © 2012-2014 我的代码板 Inc. 保留所有权利。
页面耗时0.0210秒, 内存占用1.81 MB, 访问数据库8次
闽ICP备15009223号-1
评论:修改npm源的方式
1.通过config命令npm config set registry https://registry.npm.taobao.org npm info underscore (如果上面配置正确这个命令会有字符串response)2.命令行指定npm --registry https://registry.npm.taobao.org info underscore 3.编辑 ~/.npmrc 加入下面内容registry = htt [更多>>]