【问题标题】:Can't install claymate with npm, error: No compatible version found: bower-config@'>=0.2.0 <0.3.0'无法使用 npm 安装 Claymate,错误:未找到兼容版本:bower-config@'>=0.2.0 <0.3.0'
【发布时间】:2014-09-20 04:57:53
【问题描述】:

我正在尝试使用 npm 安装 Claymate,但没有成功。它给了我:

mateuss-air:~ mateuspinheiro$ npm install claymate
npm ERR! Darwin 13.3.0
npm ERR! argv "node" "/usr/local/bin/npm" "install" "claymate"
npm ERR! node v0.10.32
npm ERR! npm  v2.0.0
npm ERR! code ETARGET

npm ERR! notarget No compatible version found: bower-config@'>=0.2.0 <0.3.0'
npm ERR! notarget Valid install targets:
npm ERR! notarget ["0.1.0-rc.1","0.1.0-rc.2","0.1.0-rc.3","0.1.0-rc.4","0.1.0-rc.5","0.2.0-rc.1","0.2.0-rc.2","0.3.0","0.3.1","0.3.3","0.3.4","0.3.5","0.4.0","0.4.1","0.4.2","0.4.3","0.4.4","0.4.5","0.5.0","0.5.1","0.5.2"]
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 gumby-framework


    【解决方案1】:

    非常简单:不要使用 HomeBrew 安装 npm。它把事情搞砸了。

    安装了node自带的npm,现在完全没问题了。

    【讨论】:

    • 用 Homebrew 卸载 Node,然后通过从 node.js 下载包进行安装,一切又恢复正常。谢谢!
    • 就是这样!谢谢!之前遇到过很多 npm 错误的麻烦。
    【解决方案2】:

    我有一个答案给你。几天前就这样做了,最后让claymate开始工作。希望它可以帮助某人。

    你必须安装 npm@1 (这样写)。然后去安装目录(因为你默认使用nmp2)并从那个地方安装claymate。 就是这样。 就这么简单,我花了很多时间弄明白。

    【讨论】:

      【解决方案3】:

      对我不起作用。 我通过二进制安装程序安装了 node & npm 并将 npm 更新到 2.6

      sudo npm install -g npm

      npm ERR! Darwin 14.1.0
      npm ERR! argv "node" "/usr/local/bin/npm" "install" "-g" "claymate"
      npm ERR! node v0.12.0
      npm ERR! npm  v2.5.1
      npm ERR! code ETARGET
      
      npm ERR! notarget No compatible version found: bower-config@'>=0.2.0 <0.3.0'
      npm ERR! notarget Valid install targets:
      npm ERR! notarget ["0.1.0-rc.1","0.1.0-rc.2","0.1.0-rc.3","0.1.0-rc.4","0.1.0-rc.5","0.2.0-rc.1","0.2.0-rc.2","0.3.0","0.3.1","0.3.3","0.3.4","0.3.5","0.4.0","0.4.1","0.4.2","0.4.3","0.4.4","0.4.5","0.5.0","0.5.1","0.5.2"]
      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.
      

      【讨论】:

        猜你喜欢
        • 2013-09-04
        • 1970-01-01
        • 1970-01-01
        • 2014-06-24
        • 2018-03-18
        • 1970-01-01
        • 2014-04-11
        • 2021-09-29
        • 1970-01-01
        相关资源
        最近更新 更多