无法运行heroku cli命令-npm存在问题

无法运行heroku cli命令-npm存在问题,heroku,heroku-toolbelt,Heroku,Heroku Toolbelt,当我试图在Mac OS X Yosemite上运行heroku fork时,我突然遇到了严重错误,导致CLI无法使用。这个问题以前没有发生过,我相信CLI可能已经自我更新并开始导致问题 ~ ☽ heroku fork -a oldapp newapp Installing plugin heroku-fork... npm ERR! Darwin 14.0.0 npm ERR! argv "/Users/Me/.heroku/iojs-v2.0.0-darwin-x64/bin/iojs" "

当我试图在Mac OS X Yosemite上运行heroku fork时,我突然遇到了严重错误,导致CLI无法使用。这个问题以前没有发生过,我相信CLI可能已经自我更新并开始导致问题

~ ☽  heroku fork -a oldapp newapp
Installing plugin heroku-fork... npm ERR! Darwin 14.0.0
npm ERR! argv "/Users/Me/.heroku/iojs-v2.0.0-darwin-x64/bin/iojs" "/Users/JJ/.heroku/iojs-v2.0.0-darwin-x64/lib/node_modules/npm/cli.js" "install" "heroku-fork"
npm ERR! node v2.0.0
npm ERR! npm  v2.9.0
npm ERR! code ETARGET

npm ERR! notarget No compatible version found: heroku-cli-util@'>=1.9.0 <2.0.0'
npm ERR! notarget Valid install targets:
npm ERR! notarget ["1.0.0","1.0.1","1.1.0","1.2.0","1.3.0","1.4.0","1.5.0","1.7.0","1.8.0","1.8.1"]
npm ERR! notarget
npm ERR! notarget This is most likely not a problem with npm itself.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! notarget
npm ERR! notarget It was specified as a dependency of 'heroku-fork'
npm ERR! notarget

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/Me/.heroku/npm-debug.log
ERROR: exit status 1
Usage: heroku COMMAND [--app APP] [command-specific-options]

Help topics, type "heroku help TOPIC" for more details:

  heroku version                       # print the version
  heroku plugins                       # manage plugins
  heroku update                        # update heroku-cli
~☽  heroku fork-旧应用程序新应用程序
正在安装插件heroku fork。。。npm错误!达尔文14.0.0
npm错误!argv“/Users/Me/.heroku/iojs-v2.0.0-darwin-x64/bin/iojs”“/Users/JJ/.heroku/iojs-v2.0.0-darwin-x64/lib/node_modules/npm/cli.js”“安装”“heroku fork”
npm错误!节点v2.0.0
npm错误!npm v2.9.0
npm错误!代码

npm错误!NotTarget找不到兼容的版本:heroku cli util@'>=1.9.0我想缓存不知怎么卡住了,请尝试删除
~/.heroku
,然后重试


编辑:原来这是Heroku私有npm服务器上的缓存问题。

我认为缓存不知怎么卡住了,请尝试删除
~/.Heroku
,然后重试


编辑:原来这是Heroku私有npm服务器上的缓存问题。

我实际上在重新安装之前完全删除了
~/.Heroku
,所以不要认为这是issueTried重新安装,清除
~/.Heroku/.npm缓存
,然后再次运行
heroku fork
——同一个issuery删除所有
~/.heroku
我实际上在重新安装之前完全删除了
~/.heroku
,所以不要认为这是issueTried重新安装,清除
~/.heroku/.npm缓存
,然后再次运行
heroku fork
——删除所有
~/.heroku