神刀安全网

left-pad package unpublished from npm, breaks builds

When building projects on travis, or when searching for left-pad on npmjs.com, both will report that the package cannot be found.

Here is an excerpt from the travis build log

npm ERR! Linux 3.13.0-40-generic npm ERR! argv "/home/travis/.nvm/versions/node/v4.2.2/bin/node" "/home/travis/.nvm/versions/node/v4.2.2/bin/npm" "install" npm ERR! node v4.2.2 npm ERR! npm  v2.14.7 npm ERR! code E404 npm ERR! 404 Registry returned 404 for GET on https://registry.npmjs.org/left-pad npm ERR! 404  npm ERR! 404 'left-pad' is not in the npm registry. npm ERR! 404 You should bug the author to publish it (or use the name yourself!) npm ERR! 404 It was specified as a dependency of 'line-numbers' npm ERR! 404  npm ERR! 404 Note that you can also install from a npm ERR! 404 tarball, folder, http url, or git url. npm ERR! Please include the following file with any support request: npm ERR!     /home/travis/build/coldrye-es/pingo/npm-debug.log make: *** [deps] Error 1 

And here is the standard npmjs.com error page https://www.npmjs.com/package/left-pad

However, if I remove left-pad from my local npm cache and then reinstall it using npm it will happily install left-pad@0.0.4.

转载本站任何文章请注明:转载至神刀安全网,谢谢神刀安全网 » left-pad package unpublished from npm, breaks builds

分享到:更多 ()

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
分享按钮