[英]Getting Error in Cordova Installation in Windows
C:\Windows\system32>npm install -g cordova
<!--'npm WARN engine cordova-js@4.0.0: wanted {"node":"~0.10.x"}
(current: {"node":" 0.12.7","npm":"2.11.3"})'
'npm WARN engine npm@1.3.4: wanted: {"node":">=0.6","npm":"1"}
(current: {"node": "0.12.7","npm":"2.11.3"})'
'npm WARN engine xmlbuilder@2.2.1: wanted: {"node":"0.8.x || 0.10.x"}
(current: { "node":"0.12.7","npm":"2.11.3"})'
'npm WARN installMany normalize-package-data was bundled with
npm@1.3.4 but bundled package wasn't found in unpacked tree-->
It seems that the NodeJS you have installed is too new for xmlbuilder. 看来您安装的NodeJS对于xmlbuilder来说太新了。 You could try downgrading it to the 0.10.x series with something like 您可以尝试将其降级为0.10.x系列,例如
npm uninstall n
npm install n@0.10.32
and run the original command after that. 然后运行原始命令。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.