Quantcast
Channel: MarsHut
Viewing all articles
Browse latest Browse all 6551

Can't add any platforms (CLI)

$
0
0
Hi,

Pretty sure I have done everything correctly but when I try and add any
platforms I get the following error ..

/home/username/.cordova/lib/android/cordova/3.5.0/bin/node_modules/q/q.js:126
throw e;

Error: An error occurred while listing Android targets
at
/home/username/.cordova/lib/android/cordova/3.5.0/bin/lib/check_reqs.js:87:29
at _rejected
(/home/username/.cordova/lib/android/cordova/3.5.0/bin/node_modules/q/q.js:808:24)
at
/home/username/.cordova/lib/android/cordova/3.5.0/bin/node_modules/q/q.js:834:30
at Promise.when
(/home/username/.cordova/lib/android/cordova/3.5.0/bin/node_modules/q/q.js:1079:31)
at Promise.promise.promiseDispatch
(/home/username/.cordova/lib/android/cordova/3.5.0/bin/node_modules/q/q.js:752:41)
at
/home/username/.cordova/lib/android/cordova/3.5.0/bin/node_modules/q/q.js:574:44
at flush
(/home/username/.cordova/lib/android/cordova/3.5.0/bin/node_modules/q/q.js:108:17)
at process._tickCallback (node.js:415:13)
Error: /home/username/.cordova/lib/android/cordova/3.5.0/bin/create:
Command failed with exit code 8
at ChildProcess.whenDone
(/usr/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:131:23)
at ChildProcess.EventEmitter.emit (events.js:98:17)
at maybeClose (child_process.js:735:16)
at Process.ChildProcess._handle.onexit (child_process.js:802:5

Versions as below, I have set the paths as pointed out in numerous
stackoverflow posts.

nodejs -v v0.10.8
npm -v 1.2.23
Apache Ant(TM) version 1.8.2 compiled on August 19 2011

Any tips to fix this?

For more info on PhoneGap or to download the code go to www.phonegap.com

You received this message because you are subscribed to the Google Groups "phonegap" group.

For more options, visit https://groups.google.com/d/optout.

Viewing all articles
Browse latest Browse all 6551

Trending Articles