Error Installing Ionic + Cordova

Asked

Viewed 1,914 times

-1

error messages when trying to install Ionic (npm install -g Cordova Ionic) Could someone help me? I am using Node 6.9. Thank you

inserir a descrição da imagem aqui

  • If using Linux or Mac, put sudo before npm install.

  • Whoa, it’s not... :/

  • I am having same problem, I tried yesterday and I could not. Tonight I will try to uninstall Ionic and install again

  • Try running cmd as administrator.

  • @Jadsonmedeiros I ran with Adm tbm...uninstalled the Node, reinstalled , but the same problem happens...I will try on the notebook to see if give the same problem...

  • @Andrévicente I did this tbm

  • 1

    Try these steps here https://github.com/npm/npm/issues/14003#issuecomment-249408972 . I made one look like this, couldn’t find where I followed it, but it was like this

  • Open your Internet Explorer and click Tools > Internet Options. Click the Connections tab and select LAN Settings. Turn on the Use proxy server for LAN box. In the Address field, enter the Proxy server address

  • To install Ionic and Cordova, the latest version of Node is recommended. Uninstall and reinstall it to receive the current version. ;)

Show 4 more comments

1 answer

0

A possible solution would be to perform the following steps:

1 - Instalar a ultima versao do NodeJS disponivel no site;
2 - Abrir o prompt de comando do NodeJS como administrador;
3 - Execute: npm cache clean;
4 - Execute: npm uninstall -g ionic
5 - Execute: npm uninstall -g cordova
6 - Execute: npm install -g ionic
7 - Execute: npm install -g cordova

Browser other questions tagged

You are not signed in. Login or sign up in order to post.