2017-11-22 36 views
1

私は何ヶ月も文字通りGulpをインストールしようとしています。 8月またはそれ以前。すべてのエフェクト時間、それはちょっと立ち往生し、ECONNRESETエラーを投げます。NPMがGulpをインストールできない - ECONNRESETエラー

npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue 
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue 
npm WARN deprecated [email protected]: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to [email protected]^4.0.0 as soon as possible. 
Use 'npm ls graceful-fs' to find it in the tree. 
npm ERR! code ECONNRESET 
npm ERR! errno ECONNRESET 
npm ERR! network request to http://registry.npmjs.org/glob-stream/-/glob-stream-3.1.18.tgz failed, reason: read ECONNRESET 
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!  C:\Users\Chilli\AppData\Roaming\npm-cache\_logs\2017-11-22T17_48_46_679Z-debug.log 

プロキシはありません。私は何ヶ月もgoogleを検索していますが、何も機能していません。私はnodejsとnpmの両方を何度も更新し、キャッシュやプロキシの設定をクリアし、httpバージョンのリポジトリを変更しました...ログはglob-streamパッケージをインストールできないと言っています。

NPMログ:https://pastebin.com/Ci0AYYzY

答えて

1

基本的に、あなたはグローバルgulpパッケージをインストールしますがgulp-cliません。あなたのログによれば、あなたはgulpパッケージをインストールしようとしました。これはdev依存性(-D引数)と同じようにインストールします。

はこれを試してみてください:

後半の応答のための
npm install gulp-cli -g 
cd your/project/dir 
npm install gulp -D 
+0

申し訳ありませんが、すごい - それは何らかの形で働いていました!ありがとうございました :) – TheChilliPL

関連する問題