I have Cordova installed in my project (version 3.4.0-0.1.3) and I am trying to update it to version 3.5.0-0.2.7 I am running the command
sudo npm update -g [email protected]
and it works fine. When I run
npm ls -g | grep cordova
I get:
├─┬ [email protected] │ ├─┬ [email protected] │ │ ├─┬ [email protected] │ │ ├─┬ [email protected] │ ├─┬ [email protected]
But when I run
cordova -v
I still get the same version I had before 3.4.0-0.1.3
Why can't I update my project? There must be something I'm missing...
I need to update cordova to build my project, please help!
Thanks
install
instead ofupdate
? – Dawson Loudonnpm ls -g
?sudo npm ls -g
? – ctlacko