ionic-framework icon indicating copy to clipboard operation
ionic-framework copied to clipboard

Current working directory is not a Cordova based project

Open reynoldbhatia opened this issue 10 years ago • 6 comments

I have everything setup but when I try running ionic platform add android

it just gives me an error saying Current working directory is not a Cordova based project

image

reynoldbhatia avatar Apr 14 '16 20:04 reynoldbhatia

Is config.xml present there???

dhirajb1989 avatar Apr 15 '16 02:04 dhirajb1989

Yes there is.

reynoldbhatia avatar Apr 15 '16 13:04 reynoldbhatia

@reynoldbhatia Hello! Sorry your having an issue getting started with your ionic app! Did you create this app with ionic start or did you git clone it from github? Also, do you have cordova installed?

jgw96 avatar Apr 15 '16 15:04 jgw96

I created it using ionic start. And yes, I have Cordova installed. Cordova create also works. The project created with Cordova create also gives the same error when I try adding the platform.

reynoldbhatia avatar Apr 15 '16 15:04 reynoldbhatia

@reynoldbhatia thanks for the info! So im gonna defer this issue over to the ionic-cli repo as the guys over there will be able to help you better with this issue than i can.

jgw96 avatar Apr 15 '16 15:04 jgw96

This issue was moved to driftyco/ionic-cli#935

jgw96 avatar Apr 15 '16 15:04 jgw96