NPM install -g polymer-cli失败,提示包不可用



我试图安装聚合物-cli,我得到下面的错误。[从错误日志中复制]

npm install -g polymer-cli

我的node和npm版本如下…

  • 节点v4.4.3
  • npm v3.10.6

谁能建议我如何解决这个问题,或者我必须提出任何日志?在cmd下,我得到了这些…

C:Userskaustav.goswami>npm install -g polymer-cli
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "D:\Programs\nodejs\node.exe" "C:\Users\kaustav.goswami\AppD
ata\Roaming\npm\node_modules\npm\bin\npm-cli.js" "install" "-g" "polymer-c
li"
npm ERR! node v4.4.3
npm ERR! npm  v3.10.6
npm ERR! code E404
npm ERR! 404 no such package available : @types/clone
npm ERR! 404
npm ERR! 404  '@types/clone' 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 'dom5'
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! Please include the following file with any support request:
npm ERR!     C:Userskaustav.goswaminpm-debug.log

错误日志

2489 error Windows_NT 6.1.7601
2490 error argv "D:\Programs\nodejs\node.exe" "C:\Users\kaustav.goswami\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "install" "-g" "polymer-cli"
2491 error node v4.4.3
2492 error npm  v3.10.6
2493 error code E404
2494 error 404 no such package available : @types/clone
2495 error 404
2496 error 404 '@types/clone' is not in the npm registry.
2497 error 404 You should bug the author to publish it (or use the name yourself!)
2498 error 404 It was specified as a dependency of 'dom5'
2499 error 404 Note that you can also install from a
2500 error 404 tarball, folder, http url, or git url.
2501 verbose exit [ 1, true ]

我在npm v3.10.6中遇到了同样的问题。

npm up npm -g 
npm install -g polymer-cli

相关内容

  • 没有找到相关文章

最新更新