【问题标题】:npm -g install weinre on windows azure remote servernpm -g 在 Windows azure 远程服务器上安装 weinre
【发布时间】:2015-11-04 20:06:49
【问题描述】:

我一直在尝试在 Windows Azure 服务器上安装 weinre,在下载 node.js 并输入“npm -g install weinre”后,我在 cli 中收到以下错误消息。

C:\>npm -g install weinre
npm ERR! Windows_NT 6.3.9600
npm ERR! argv "C:\\\\node.exe" "C:\\node_modules\\npm\\bin\\npm-cli.js" "-g" "in
stall" "weinre"
npm ERR! node v0.12.7
npm ERR! npm  v2.11.3
npm ERR! code ETARGET

npm ERR! notarget No compatible version found: weinre@'*'
npm ERR! notarget Valid install targets:
npm ERR! notarget ["2.0.0-pre-H0WTHDO5-incubating","2.0.0-pre-H1GCS73N-incubatin
g","2.0.0-pre-H3FWTQKQ-incubating","2.0.0-pre-H41DGW8S-incubating","2.0.0-pre-H8
EOSCLN-incubating","2.0.0-pre-H9PU2WST-incubating","2.0.0-pre-HA5N9T49","2.0.0-p
re-HG9PLCRF","2.0.0-pre-HH0SN197","2.0.0-pre-HYFXM3QM","2.0.0-pre-HZ79PDUK","2.0
.0-pre-HZO3BMNG","2.0.0-pre-I0Z7U9OV"]
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! Please include the following file with any support request:
npm ERR!     C:\npm-debug.log

C:\>

【问题讨论】:

    标签: node.js azure npm weinre


    【解决方案1】:

    npm 的最新版本存在某种错误,需要您在安装 weinre 时指定版本。试试这个:

    npm -g install weinre@latest

    【讨论】:

    • 完美,修复了它。谢谢
    • 这是为我做的。头发拉了 30 分钟才看到这个。
    猜你喜欢
    • 1970-01-01
    • 2012-07-02
    • 1970-01-01
    • 1970-01-01
    • 2010-09-08
    • 1970-01-01
    • 1970-01-01
    • 2011-03-19
    • 1970-01-01
    相关资源
    最近更新 更多