<概要>
npmでbot-expressをインストールしようとした所、エラーが発生してしまいます。
解決方法を探していくつか試してみましたが原因が分からないため、教えて頂けませんでしょうか。
なお、その他のプログラムをnpmでインストールする際にはエラーが発生していません。
<実行したコード>
$ npm install bot-express
<エラーメッセージ>
npm ERR! code ETIMEDOUT npm ERR! errno ETIMEDOUT npm ERR! network request to http://registry.npmjs.org/split-array-stream/-/split-array-stream-1.0.3.tgz failed, reason: read ETIMEDOUT npm ERR! network This is a problem 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! A complete log of this run can be found in: npm ERR! /Users/***/.npm/_logs/2018-04-09T11_31_55_758Z-debug.log
<環境>
OS: Mac OS High Sierra 10.13.3
node version: v9.9.0
npm version: 5.8.0
proxy: 不使用
npm proxy設定:
$ npm config get proxy: null $ npm config get https-proxy: null
<試したこと>
- sudoを追加 (https://teratail.com/questions/53523)
=>変化無し - .npmrc内のプロキシ設定を削除 (https://teratail.com/questions/58037)
=>最初から記述無し - npm cache clean
=> 変化無し
4. npmをアップデート
=> 最新バージョン5.8.0
5. registryをhttpsからhttpに変更
$ npm config set registry http://registry.npmjs.org/
=> 途中まで進むも上記エラーメッセージ
回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2018/04/10 01:56