405 Method Not Allowed: gitbook-cli@latest

发布于 2022-09-07 23:21:53 字数 2316 浏览 29 评论 0

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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文