Thursday, 15 May 2014

cordova - Phonegap cli installation on Ubuntu 14 -



cordova - Phonegap cli installation on Ubuntu 14 -

i'm trying install phonegap on ubuntu 14. i'm next like:-

http://cordova.apache.org/docs/en/edge/guide_cli_index.md.html#the%20command-line%20interface

it worked nice on windows. doesn't work on ubuntu. installed

sudo apt-get install node sudo apt-get install npm sudo npm install -g cordova sudo npm install -g phonegap

i checked installation ok. after when seek cordova create hello com.example.hello helloworld. nil @ all. missing? please suggest me. thanks!

in ubuntu 14 node application amateur radio. node-js in ubuntu 14 bundle nodejs. cordova searches "node" instead of "nodejs", so, tries launch radio app.

my solution has been:

purge node

sudo apt-get purge node

install nodejs , nodejs-legacy

sudo apt-get install nodejs nodejs-legacy

this lastly bundle adds symlink /usr/bin/node nodejs.

so, cordova runs right.

cordova ubuntu-14.04

No comments:

Post a Comment