I created a Phonegap project according to instructions, checked it into SVN, checked it out and then discovered I could no longer run the build command--necessary to have ch
In my project I had nothing in www, so when I put into git the www
folder was missing. I put a .gitignore into www
and pushed, than it worked.
To complete other answers, this thread will help you understand what should be put in version control or not. The .cordova file should rather be versionned to avoid this kind of problems.
What parts of cordova cli generated projects can be safely versioned in source control?
I experienced this problem when working in an Xcode project that somehow didn't build properly with the needed Cordova files. While the existing Cordova plugins are working, installing new ones does not.
My example is for the InAppBrowser plugin.
What I did:
cordova create .
cordova plugin add https://github.com/apache/cordova-plugin-inappbrowser.git
Hope this helps!