2016-03-02 186 views
1

運行NPM安裝終極版給出了錯誤:無法通過npm安裝redux?

npm ERR! fetch failed https://registry.npmjs.org/lodash-es/-/lodash-es-4.6.0.tgz npm WARN retry will retry, error on last attempt: Error: fetch failed with status code 404

我想它的東西與lodash-ES,因爲我不能安裝,要麼。其他的軟件包工作正常。

+1

npm現在有重大問題,請看他們的狀態頁面http://status.npmjs.org/ –

回答

1

我得到相同的錯誤。我得到了404和502狀態碼。聽起來好像在npm上託管軟件包一定有問題。我也試圖通過npm安裝redux。

我在我的package.json改變lodash-ES版本

"lodash-es": "~4.0.0" 
-1

錯誤404意味着所需的軟件包不可用NPM當前版本暫時固定它。你應該嘗試更新npm本身。

>$ sudo npm install npm -g 
>$ password: 

sudo在您的情況下可能是可選的。

+0

你是否再次得到相同的錯誤? –