美文网首页
Mac npm私有仓库 install 报错:404 Not F

Mac npm私有仓库 install 报错:404 Not F

作者: 凯光V | 来源:发表于2020-01-15 20:07 被阅读0次

报错如下:

npm ERR! code E404

npm ERR! 404 Not Found - GEThttp://jfrog.cloud.qiyi.domain/api/npm/npm/opencollective-postinstall - not_found

npm ERR! 404 

npm ERR! 404  'opencollective-postinstall@2.0.2' 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 'web-collection-project'

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! A complete log of this run can be found in:

npm ERR!     /Users/liuwen/.npm/_logs/2019-12-12T02_22_43_433Z-debug.log

解决方法:

1. npm login --registry your-npm-resp

2. npm config edit

3. 删除token串

相关文章

网友评论

      本文标题:Mac npm私有仓库 install 报错:404 Not F

      本文链接:https://www.haomeiwen.com/subject/frcxzctx.html