Unable to install ionic and cordova


#1

So I haven’t seen this issue happening before. I’ve installed the latest versions of NPM and node.js but can’t seem to be able to install ionic and cordova packages. After the following output, the terminal just basically sits there while nothing happens (have this screen for more than an hour now).

Terminal output:

$ sudo npm install -g ionic cordova
npm WARN engine npm@1.3.4: wanted: {"node":">=0.6","npm":"1"} (current: {"node":"0.12.2","npm":"2.10.0"})
npm WARN engine cordova-js@3.9.0: wanted: {"node":"~0.10.x"} (current: {"node":"0.12.2","npm":"2.10.0"})
npm WARN engine xmlbuilder@2.2.1: wanted: {"node":"0.8.x || 0.10.x"} (current: {"node":"0.12.2","npm":"2.10.0"})
npm WARN installMany normalize-package-data was bundled with npm@1.3.4, but bundled package wasn't found in unpacked tree
npm WARN engine cordova-js@3.9.0: wanted: {"node":"~0.10.x"} (current: {"node":"0.12.2","npm":"2.10.0"})
npm WARN engine npm@1.3.4: wanted: {"node":">=0.6","npm":"1"} (current: {"node":"0.12.2","npm":"2.10.0"})
npm WARN engine xmlbuilder@2.2.1: wanted: {"node":"0.8.x || 0.10.x"} (current: {"node":"0.12.2","npm":"2.10.0"})
npm WARN installMany normalize-package-data was bundled with npm@1.3.4, but bundled package wasn't found in unpacked tree
/usr/local/bin/ionic -> /usr/local/lib/node_modules/ionic/bin/ionic

I’m runnin this on Mac OS X Yosemite on a 2015 macbook.

Any help appreciated.


#2

I am also having the same problem. Still not fixed