npm - 包上的404,但URL返回200

时间:2018-01-02 18:05:10

标签: npm babeljs

我正在尝试为ethAlarm安装deps,而我在一个似乎存在的软件包上获得了404。 npm错误日志粘贴在下面。当我在浏览器中点击包的URL时它返回200响应(例如:https://registry.npmjs.org/@babel%2ftraverse),但是npm日志显示npm正在获得404(?)我和另一个项目有类似的问题所以我'猜测它与我的配置有关,而不是那个babel本身...提前感谢!

npm logs:

405 http fetch GET 404 https://registry.npmjs.org/@babel%2ftraverse 344ms
406 silly fetchPackageMetaData error for @babel/traverse@7.0.0-beta.31 
404 Not Found: @babel/traverse@7.0.0-beta.31
407 http fetch GET 404 https://registry.npmjs.org/@babel%2fcode-frame 374ms
408 silly fetchPackageMetaData error for @babel/code-frame@7.0.0-beta.31 404 Not Found: @babel/code-frame@7.0.0-beta.31
409 http fetch GET 404 https://registry.npmjs.org/@babel%2ftypes 393ms
410 silly fetchPackageMetaData error for @babel/types@7.0.0-beta.31 404 Not Found: @babel/types@7.0.0-beta.31
411 verbose stack Error: 404 Not Found: @babel/traverse@7.0.0-beta.31
413 verbose Darwin 17.2.0
414 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
415 verbose node v8.3.0
416 verbose npm  v5.3.0
417 error code E404
418 error 404 Not Found: @babel/traverse@7.0.0-beta.31
419 verbose exit [ 1, true ]

.npmrc

prefix=/Users/example/npm
email=example@gmail.com
registry=https://registry.npmjs.org/
register=registry.npmjs.org

0 个答案:

没有答案