CordovaError:一些要求检查失败

时间:2015-11-06 18:09:00

标签: cordova npm

我已经转移到NodeJs 5.0,我遇到了正确运行cordova的问题。

> cordova -v
5.3.3

我尝试检查:cordova要求-d

Checking requirements for android platform
Checking requirements for ios platform

Requirements check results for android:
Check failed for android due to CordovaError: Failed to check requirements for android platform. check_reqs module is missing for platform. Skipping it...

Requirements check results for ios:
Check failed for ios due to CordovaError: Failed to check requirements for ios platform. check_reqs module is missing for platform. Skipping it...
CordovaError: Some of requirements check failed
    at /usr/local/lib/node_modules/cordova/src/cli.js:300:41
    at _fulfilled (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:787:54)
    at self.promiseDispatch.done (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:816:30)
    at Promise.promise.promiseDispatch (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:749:13)
    at /usr/local/lib/node_modules/cordova/node_modules/q/q.js:557:44
    at flush (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:108:17)
    at doNTCallback0 (node.js:428:9)
    at process._tickCallback (node.js:357:13)
    at Function.Module.runMain (module.js:459:11)
    at startup (node.js:136:18)

更新: 2015年7月7日

好消息。今天cordova工具发布到5.4.0并且使用Node 4& 5和npm 3是固定的。

npm install -g cordova

1 个答案:

答案 0 :(得分:-4)

更新: 2015年7月7日

好消息。今天cordova工具发布到5.4.0并且使用Node 4& 5和npm 3是固定的。

npm install -g cordova