Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where PhoneGap defines project directory?

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?

like image 769
Nikolai Samteladze Avatar asked Dec 12 '22 09:12

Nikolai Samteladze


1 Answers

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.

like image 155
Purus Avatar answered Feb 09 '23 00:02

Purus