When I move my PhoneGap project to another folder, I can't run phonegap local
commands anymore. For example, this command:
phonegap local plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-console.git
results in this error:
[error] project directory could not be found
My guess is that PhoneGap defines project directory somewhere in configuration and it can't find my project because I moved it to another folder. I there a way to change PhoneGap project directory in configuration?
The CLI tool create a new folder called ".cordova" for every project which is mostly hidden in some systems.
This folder is required for the folder to be identified as a phonegap project.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With