Installing npm package fails with 404

别来无恙 提交于 2019-11-28 01:53:52
Matt
npm config set registry http://registry.npmjs.org

NPM registry documentation

in my case it was .npmrc file in my project dir, which kept overwriting my global registry url. As soon as I deleted it, I could finally use npm install

I had same problem with a private package. Need to:

  • npm adduser
  • npm login
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!