405 Method Not Allowed: gitbook-cli@latest
npm ERR! code E405
npm ERR! 405 Method Not Allowed: gitbook-cli@latest
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2018-09-28T01_03_44_786Z-debug.log
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'install', 'gitbook-cli', '-g' ]
2 info using npm@6.4.1
3 info using node@v6.14.3
4 verbose npm-session 3f114ece5e030212
5 silly install loadCurrentTree
6 silly install readGlobalPackageData
7 http fetch GET 405 https://registry.npmjs.org/np... 16489ms
8 silly fetchPackageMetaData error for gitbook-cli@latest 405 Method Not Allowed: gitbook-cli@latest
9 timing stage:rollbackFailedOptional Completed in 1ms
10 timing stage:runTopLevelLifecycles Completed in 35012ms
/root/.npm/_logs/2018-09-28T01_03_44_786Z-debug.log:
11 verbose stack at Promise._settlePromiseFromHandler (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:512:31)
11 verbose stack at Promise._settlePromise (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:569:18)
11 verbose stack at Promise._settlePromise0 (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:614:10)
11 verbose stack at Promise._settlePromises (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:693:18)
11 verbose stack at Async._drainQueue (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/async.js:133:16)
11 verbose stack at Async._drainQueues (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/async.js:143:10)
11 verbose stack at Immediate.Async.drainQueues (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/async.js:17:14)
11 verbose stack at runCallback (timers.js:672:20)
11 verbose stack at tryOnImmediate (timers.js:645:5)
11 verbose stack at processImmediate [as _immediateCallback] (timers.js:617:5)
12 verbose cwd /root
13 verbose Linux 3.10.0-862.3.2.el7.x86_64
14 verbose argv "/usr/bin/node" "/usr/bin/npm" "install" "gitbook-cli" "-g"
15 verbose node v6.14.3
16 verbose npm v6.4.1
17 error code E405
18 error 405 Method Not Allowed: gitbook-cli@latest
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论