Upgrading to ionic.rc0 got npm install -g ionic error


#1

Did sudo npm uninstall -g ionic it went fine

then got error doing sudo npm install -g ionic

npm ERR! uid must be an unsigned int
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>
npm ERR! Darwin 15.6.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "ionic"
npm ERR! node v4.4.4
npm ERR! npm  v3.10.8

npm ERR! uid must be an unsigned int
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>
npm ERR! Darwin 15.6.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "ionic"
npm ERR! node v4.4.4
npm ERR! npm  v3.10.8

#2

Recommend running npm cache clean after the install.


#3

this is during the install


#4

upgraded node to latest 6.7 works.


#5

Try update node.js to updated version


#6

i was having the same issue. i have node v5.11 better not go with v6.7

if you have installed the beta cli you should run

npm uninstall -g ionic

first. You need version 2.1.0 for this release. Check your cli version by running ionic -v in the command line.

after that give

npm install -g ionic