How can I update an existing 3.0 project to the newest phonegap version 3.1? I saw the original cordova has a update command but couldn't found this command in the phonegap CLI.
I got the same problem. My solution was to install cordova as same as contained by phonegap.
Firstly, run npm list -g
to confirm cordova version on phonegap.
└─┬ [email protected]
├── [email protected]
├─┬ [email protected] <-- Pick this version
│ ├─┬ [email protected]
│ │ └── [email protected]
│ ├─┬ [email protected]
Then you could install cordova for the version.
sudo npm install -g [email protected]
You could use update command to your project. For example:
cordova platform update ios
It was working for me.
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