svp j’ai des problémes d’installation ionic quelqu’un peut m’aider et mercii d’avance
Peux-tu préciser ? As tu un message d’erreur ? Sur quel environnement es-tu ?
Nous voulons bien t’aider mais il faut que tu nous donnes des détails sur ce qui ne va pas.
$ npm install -g ionic
npm ERR! Windows_NT 6.1.7600
npm ERR! argv “c:\Program Files\nodejs\node.exe” “c:\Program Files\n
node_modules\npm\bin\npm-cli.js” “install” “-g” "ionic"
npm ERR! node v0.12.2
npm ERR! npm v2.7.4
npm ERR! code ECONNRESET
npm ERR! errno ECONNRESET
npm ERR! syscall read
npm ERR! network read ECONNRESET
npm ERR! network This is most likely not a problem with npm itself
npm ERR! network and is related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network
gs.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network ‘proxy’ config is set properly. See: 'npm help config’
npm ERR! Windows_NT 6.1.7600
npm ERR! argv “c:\Program Files\nodejs\node.exe” “c:\Program Files\n
node_modules\npm\bin\npm-cli.js” “install” “-g” "ionic"
npm ERR! node v0.12.2
npm ERR! npm v2.7.4
npm ERR! code ECONNRESET
npm ERR! errno ECONNRESET
npm ERR! syscall read
npm ERR! network read ECONNRESET
npm ERR! network This is most likely not a problem with npm itself
npm ERR! network and is related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network
gs.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network ‘proxy’ config is set properly. See: 'npm help config’
npm ERR! Windows_NT 6.1.7600
npm ERR! argv “c:\Program Files\nodejs\node.exe” “c:\Program Files\n
node_modules\npm\bin\npm-cli.js” “install” “-g” "ionic"
npm ERR! node v0.12.2
npm ERR! npm v2.7.4
npm ERR! code ECONNRESET
npm ERR! errno ECONNRESET
npm ERR! syscall read
npm ERR! network read ECONNRESET
npm ERR! network This is most likely not a problem with npm itself
npm ERR! network and is related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network
gs.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network ‘proxy’ config is set properly. See: 'npm help config’
npm ERR! Windows_NT 6.1.7600
npm ERR! argv “c:\Program Files\nodejs\node.exe” “c:\Program Files\n
node_modules\npm\bin\npm-cli.js” “install” “-g” "ionic"
npm ERR! node v0.12.2
npm ERR! npm v2.7.4
npm ERR! code ECONNRESET
npm ERR! errno ECONNRESET
npm ERR! syscall read
npm ERR! network read ECONNRESET
npm ERR! network This is most likely not a problem with npm itself
npm ERR! network and is related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network
gs.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network ‘proxy’ config is set properly. See: 'npm help config’
npm ERR! Windows_NT 6.1.7600
npm ERR! argv “c:\Program Files\nodejs\node.exe” “c:\Program Files\n
node_modules\npm\bin\npm-cli.js” “install” “-g” "ionic"
npm ERR! node v0.12.2
npm ERR! npm v2.7.4
npm ERR! code ECONNRESET
npm ERR! errno ECONNRESET
npm ERR! syscall read
npm ERR! network read ECONNRESET
npm ERR! network This is most likely not a problem with npm itself
npm ERR! network and is related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network
gs.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network ‘proxy’ config is set properly. See: 'npm help config’
version npm est 2.7.4
node version 0.12.2
C’est marqué dans ton post l’erreur qui est remontée
mais j’arrive pas a ressoudre ce problème.
Arrives-tu à faire un ping registry.npmjs.org
? Je confirme @rkueny. Tout semble indiquer un problème de réseau. Es-tu derrière un proxy ou un firewall ?
non j’arrive pas et j’ai un firewell
Salut,
Tente éventuellement un sudo npm install -g ionic
.
Et tu auras surement plus de réponse sur le forum de Ionic (en Anglais) :
Au vu du message d’erreur, tu peux essayer de désactiver ton firewall, le temps d’un test d’installation.
Si cela passe, il faudra sans doute que tu regardes pour le configurer de manière à pouvoir faire des installations à travers.
++