Is node.js mandatory to install coradova


#1

i am trying to install coradova but no success…where to install command line tool to execute the given commands.


#2

Yeah node.js is mandatory for cordova.

http://nodejs.org/


#3

i installed node.js and and sample project is created using cordova but while adding platform its throwing error…any one has an idea about it…i have successfully installed sdk also…


#4

Coradova is bot configured cuccessfully and getting error even though every thing is latest I installed as mentioned above.

Commands working fine after installing node.js

  1. npm install -g ionic
    2.ionic start myApp
    3.install -g cordova ionic

    error while executing
    ionic platform ios android to add polateform

    ERROR: Unable to add plugins. Perhaps your version of Cordova is too old. Try up dating (npm install -g cordova), removing this project folder, and trying again.

is there anything wrong here??


#5

So two things from the two post that stand out. Do you have ant installed? Seeing as your heavily involved with android I would expect to have, but hey I got to ask :smile:

Second, post, there errors seems to be that you do not have git installed on your system

http://git-scm.com


#6

yes my first release plan with android that’s why I install Android SDK platform which is required to build ionic with cordova.

I configured GIT and ant is also installed even added path to environment variable but still some conflict while adding platform.

I have lots of question about the architecture …I have doubt that in previously android studio I was using web view to load my recourses and native features but in coradova how we will write the code where is coradova webview we can see…

where can I get my all question clear about creating app using ionic Cordova… can I have any online session.


#7

Hey @chakerveer, are you able to create applications using cordova only, e.g. using the command cordova create hello com.example.hello HelloWorld ?


#8

yes Application created successfully in hello directory but after that we have commands to add platform that’s throwing error.


#9

@chakerveer what does your bash profile look like?

touch ~/.bash_profile; open ~/.bash_profile

In the cordova docs, you need to provide a path to your sdk tools and platform tools

http://cordova.apache.org/docs/en/2.6.0/guide_getting-started_android_index.md.html#Getting%20Started%20with%20Android