-
Notifications
You must be signed in to change notification settings - Fork 336
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Current working directory is not a Cordova-based project #43
Comments
What version of Cordova are you running? All Here's a great post by @hollyschinsky about recent changes to Cordova http://devgirl.org/2014/02/10/3-cordova-cli-changes/ |
I was using 3.3. I updated to 3.4 and it works well. |
I don't understand what the solution to this issue is. I have Cordova 3.5 installed and using cordova command itself still reports that the directory is not a cordova project |
Exactly! And still not a proper solution for this. Could anyone actually give a proper setup process as this goes far beyond annoying! Thank you. |
I'm on version |
I am not sure if the solution to this is not related to cordova latest version. Since it is working for some, yet I was trying 4+ hours yesterday and gave up. |
@dexteriti I updated my cordova version to 3.5.0-0.2.7 then created new project using ionic generator. I ran cordova command |
@justmyfreak It's 3.5.0. I did uninstalled cordova globally and then installed it again. It doesn't even install the plugins. Keeps checking if the folder is Cordova project with no success. |
which Cordova command you run? |
@justmyfreak About what? Sorry, this conversation is ongoing here - ionic-team/ionic-framework#2213 (comment) |
Also going on here - #33 (comment) |
I tried to follow along https://www.npmjs.org/package/generator-ionic
Then I tried to
cordova platform add ios
and it said 'Current working directory is not a Cordova-based project'. But if I tried togrunt platform:add:ios
, it works.I tried to find solution for it and it seems that Cordova application should have
.cordova
directory along withconfig.xml
andwww
directory should containconfig.xml
as well.I copied config.xml using
cp config.xml .cordova
andcp config.xml www
. Then runcordova platform add ios
and it worked.Is this happen to any one or just me?
The text was updated successfully, but these errors were encountered: