报错如下:
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串
网友评论