Unable to install ionic after RC2


#1

npm install -g ionic
npm ERR! Windows_NT 6.1.7601
npm ERR! argv “C:\Program Files\nodejs\node.exe” “C:\Users\\AppDa
ta\Roaming\npm\node_modules\npm\bin\npm-cli.js” “install” “-g” "ionic"
npm ERR! node v6.9.1
npm ERR! npm v3.10.9
npm ERR! code E404

npm ERR! 404 no such package available : @ionic/app-generators
npm ERR! 404
npm ERR! 404 ‘@ionic/app-generators’ is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)

npm ERR! 404 It was specified as a dependency of 'ionic’
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! Please include the following file with any support request:


#2

first give this command in your terminal
npm uninstall -g ionic

and then this one
npm install -g ionic


#3

i used above solution same error


#4

install version 5.x of node.js


#5

downgrade your your npm to 3.10.8 or 3.10.7 and try installing again

sudo npm install -g npm@latest-2
sudo npm install -g npm@3.10.7


#6

I tried both method to dowbgrade npm and node to 5.x but same error getting

npm install -g ionic
npm ERR! Windows_NT 6.1.7601
npm ERR! argv “C:\Program Files\nodejs\node.exe” “C:\Users\dsd\AppDa
ta\Roaming\npm\node_modules\npm\bin\npm-cli.js” “install” “-g” "ionic"
npm ERR! node v5.12.0
npm ERR! npm v3.10.7
npm ERR! code E404

npm ERR! 404 no such package available : @ionic/app-generators
npm ERR! 404
npm ERR! 404 ‘@ionic/app-generators’ is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)

npm ERR! 404 It was specified as a dependency of 'ionic’
npm ERR! 404


#7

If you read the ionic docs you need node version of greater than 6. so don’t downgrade node


#8

The current node versions are 6 (LTS) and 7. You shouldn’t use 4&5 anymore.


#9

maxx will you help to resolve above issues


#10

Update your Node & NPM to the latest LTS (6.9.x) first.


#11

After updated to latest node and npm @adam and @brandyshea Please look into it

npm ERR! node v6.9.1
npm ERR! npm v3.10.9
npm ERR! code E404

npm ERR! 404 no such package available : @ionic/app-generators
npm ERR! 404
npm ERR! 404 ‘@ionic/app-generators’ is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)

npm ERR! 404 It was specified as a dependency of 'ionic’
npm ERR! 404


#12

i am using v5.x from a long time …never faced any issues with ionic FYI


#13

thats fine, but Node5 isn’t maintained anymore so i’d advise to update to a maintained version.


#14

So… only a little bit late to the party heh.

@riteshbhat17 and @maxx0r, we suggest using the LTS (what ever that version is just to keep up with security updates)

back to the real issue here…

@iksoft what version of windows are you using? Also, what command prompt are you using?