I have just got started with Ionic and as much as it is awesome I am having a few issues installing the Cordova side of things.
when I try to install Cordova using npm install -g cordova I get the following errors and cannot get past it. I have tried sudo too. Has anyone else hit this issue?
Leighs-MacBook-Pro:myapp leigh$ sudo npm install -g cordova
Password:
npm WARN engine npm@1.3.4: wanted: {“node”:">=0.6",“npm”:“1”} (current: {“node”:“0.10.38”,“npm”:“2.9.0”})
npm WARN installMany normalize-package-data was bundled with npm@1.3.4, but bundled package wasn’t found in unpacked tree
npm ERR! Darwin 14.3.0
npm ERR! argv “node” “/Users/leigh/.nvm/v0.10.38/bin/npm” “install” “-g” "cordova"
npm ERR! node v0.10.38
npm ERR! npm v2.9.0
npm ERR! code ETARGET
npm ERR! notarget No compatible version found: JSONStream@’>=1.0.3 <2.0.0’
npm ERR! notarget Valid install targets:
npm ERR! notarget [“0.0.0”,“0.1.0”,“0.1.1”,“0.1.2”,“0.1.3”,“0.2.0”,“0.2.1”,“0.2.2”,“0.2.3”,“0.3.0”,“0.3.1”,“0.3.2”,“0.3.3”,“0.4.0”,“0.4.1”,“0.4.2”,“0.4.3”,“0.4.4”,“0.5.0”,“0.6.0”,“0.6.1”,“0.6.2”,“0.6.3”,“0.6.4”,"0.7.