http://cordova.apache.org/docs/en/5.0.0//guide_cli_index.md.html#The%20Command-Line%20Interface
給電腦換源 npm 國內(nèi)鏡像 cnpm
http://yijiebuyi.com/blog/b12eac891cdc5f0dff127ae18dc386d4.html
nodejs npm國內(nèi)鏡像
http://my.oschina.net/gongbaodd/blog/302957
1.通過config命令
npm config set registry http://registry.cnpmjs.org npm info underscore (如果上面配置正確這個命令會有字符串response)
2.命令行指定
npm --registry http://registry.cnpmjs.org info underscore
3.編輯 ~/.npmrc 加入下面內(nèi)容
registry = http://registry.cnpmjs.org
搜索鏡像: http://cnpmjs.org