I want to develop PhoneGap application, So I am trying to install cordova on the window using the procedure mention in this link.
1. Node.js
2. git client
3. npm install npm -g
I use above step-3,(Please see) to get rid from this warning, did not succeed
4 npm install -g cordova
But I am getting the follwing warning.
C:\>npm install -g cordova
npm WARN engine [email protected]: wanted: {"node":"~0.10.x"} (current: {"node":"
0.12.0","npm":"2.5.1"})
npm WARN engine [email protected]: wanted: {"node":">=0.6","npm":"1"} (current: {"node":
"0.12.0","npm":"2.5.1"})
npm WARN engine [email protected]: wanted: {"node":"0.8.x || 0.10.x"} (current: {
"node":"0.12.0","npm":"2.5.1"})
C:\Users\Neelabh\AppData\Roaming\npm\cordova -> C:\Users\Neelabh\AppData\Roaming
\npm\node_modules\cordova\bin\cordova
[email protected] C:\Users\Neelabh\AppData\Roaming\npm\node_modules\cordova
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
└── [email protected] ([email protected], [email protected], properties-parser@0.
2.3, [email protected], [email protected], [email protected], [email protected], [email protected]
, [email protected], [email protected], [email protected], [email protected], [email protected], [email protected].
6, [email protected], [email protected], [email protected], [email protected], tar@
1.0.2, [email protected], [email protected], [email protected])
don't worry about the warning,
nodejs 0.12 were just release last mounth, Cordova team havn't yet update dependencies.
Another thing the most up to date Cordova build is 4.1.2, try :
npm install -g cordova@4
to force npm installing the newer version. Cordova 4 works with both 0.10 and 0.12 nodejs version but will warn you as the 3.8 version. Things should return at normal soon after teams updates all the dependencies.
If you really want to care about that warning you could downgrade your nodejs installation to 0.10 and everything will return as usual.
Hope that help.
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