Installing ionic cordova


#1

I m Installing ionic cordova but error anyone know how to solve
thanks in advance


#2

I did the exact same thing a few minutes ago, no problems at all.

Are you running your command line as Admin? Why?
Are you behind a proxy that is messing with stuff?


#3

yes as Admin…no proxy…
kindly tell me solution


#4

Why as admin?

Try running npm install -g ionic and npm install -g cordova seperately.


#5

i try seperately but same error.


#6

That is impossible. It makes absolutely no sense that npm install -g ionic returns the same error as you posted above.


#7


#8

See, different URL was not found.

Try npm install -g ionic --verbose


#9

Can you access https://registry.npmjs.org/ionic in your browser?


#10

yes i can access…and i try npm install -g ionic --verbose
but same error


#11
  1. Please stop posting screenshots of cmd - just copy the messages over here and format as code so we can actually read it. You can also add > output.txt to your command to log to a file automatically.
  2. Something is intercepting your requests to registry.npmjs.org in your command line. You get a Aache error message, responsed from this server normally come from a varnish proxy. Your network is broken, nothing we can do about that. you have to fix it. (Easy way: Disconnect from your network, connect to a hotspot opened on your mobile phone. Download, then you can switch back to your normal network)