Ho problemi con npm e non ho trovato soluzione nel web.npm installazione non fa nulla - come farlo funzionare?
Oggi ho voluto iniziare la mia avventura con nodejs, NPM, pergolato ecc
che uso di Windows 8.1.
Ho installato il nodo più recente (v0.12.0). Ho provato questi passaggi con entrambe le versioni x64 e x86. Ho aperto la riga di comando nodejs con privilegi amministrativi. Ho aggiornato la versione NPM alla 2.5.0. Quando corro npm install bower -g
Vedo un carattere che sembra mostrare progresso (sta rotolando) ma non succede nulla. Anche se lo lascio "in funzione" per 30 minuti, non succede nulla. Non finisce mai. Quando digito np ls -g
mostra solo [email protected] e le sue dipendenze.
Non so quali altre informazioni potrei fornire. Non ci sono errori né registri. Per favore, aiuto.
Aggiornato
Logs:
npm info it worked if it ends with ok
npm verb cli [ 'node',
npm verb cli 'C:\\Users\\Lucek\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js',
npm verb cli '--verbose',
npm verb cli 'install',
npm verb cli 'bower',
npm verb cli '-g' ]
npm info using [email protected]
npm info using [email protected]
npm verb cache add spec bower
npm verb addNamed [email protected]*
npm verb addNameRange registry:https://registry.npmjs.org/bower not in flight; fetching
npm verb request uri https://registry.npmjs.org/bower
npm verb request no auth needed
npm info attempt registry request try #1 at 08:43:01
npm verb request id 8d309c5e387572c0
npm verb etag "CQDT3LW680UJR78VNWVFLN8Q7"
npm http request GET https://registry.npmjs.org/bower
npm http 200 https://registry.npmjs.org/bower
npm verb get saving bower to C:\Users\Lucek\AppData\Roaming\npm-cache\registry.npmjs.org\bower\.cache.json
npm verb addNamed [email protected]
npm verb addRemoteTarball https://registry.npmjs.org/bower/-/bower-1.3.12.tgz not in flight; adding
npm verb addRemoteTarball [ 'https://registry.npmjs.org/bower/-/bower-1.3.12.tgz',
npm verb addRemoteTarball '37de0edb3904baf90aee13384a1a379a05ee214c' ]
Prova 'npm --verbose installa bower -g' e pubblica i registri – laggingreflex
Ho allegato i registri. Grazie in anticipo! – Lucenty
checkout https://github.com/npm/npm/issues/1198 – laggingreflex