发布npm 包的时候
npm 包内容少的情况下很容易提交
$ npm publish
$ gitpush@0.0.19
npm 包内容文件大的情况下经常失败,成功的机会很少
$ npm publish
npm ERR! publish Failed PUT undefined
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "D:\\nodejs\\node.exe" "D:\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "publish"
npm ERR! node v4.2.1
npm ERR! npm v2.14.7
npm ERR! code ECONNRESET
npm ERR! network socket hang up
npm ERR! network This is most likely not a problem with npm itself
npm ERR! network and is related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly. See: 'npm help config'
npm ERR! Please include the following file with any support request:
npm ERR! E:\zan\coding\panli\ppt\ippt\npm-debug.log