node.js - npm -g 在 Windows Azure 远程服务器上安装 weinre

标签 node.js azure npm weinre

我一直在尝试在 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:\>

最佳答案

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

npm -g install weinre@latest

关于node.js - npm -g 在 Windows Azure 远程服务器上安装 weinre,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31961412/

相关文章:

node.js - `npm config set msvs_version 2015 --global`设置的标志未通过 Electron 重建兑现

.net - 由于 ZIP 结构,使用 kudu ZipDeploy 的 Azure Web 应用程序部署失败

angularjs - 如何在客户端使用Node模块?

javascript - 如何使用JS从URL获取查询参数和编码信息

node.js - 没有域的 SSL 证书

authentication - 简单的 REST 身份验证策略?

javascript - Nodejs 和 mongoose 的时间戳

azure - 如何通过 'Complete' 模式部署到 Azure 来忽略锁定的资源?

azure - 导出互联网络 |子网

node.js - 无法从 0.12.13 更新 sails 1.0.1