2016-03-02 119 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

你是否再次得到相同的错误? –