###npm install が出来ない
node.js v6.9.2をインストールしたのですが、パッケージのinstallが出来なく詰んでしまいました。
###発生している問題・エラーメッセージ
npm ERR! Darwin 14.5.0 npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "typescript" npm ERR! node v6.9.2 npm ERR! npm v3.10.9 npm ERR! code ETIMEDOUT npm ERR! errno ETIMEDOUT npm ERR! syscall connect npm ERR! network connect ETIMEDOUT xxx.xxx.xxx.xxx:8080 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! /Users/usr/npm-debug.log
###試したこと
ずっと同じようなエラーがでます。
$ npm config set proxy http://foo.co.jp:8080 $ npm config set registry http://registry.npmjs.org/
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。