piratas-ar / piratesbey

herramientas para backupear y mostrar torrents
8 stars 4 forks source link

Error instalando dependencia "find-java-home" #2

Open exos opened 9 years ago

exos commented 9 years ago

Alguna idea?

⏺ ⁅piratesbey ⭠feature/contrib/1 ✓ ⁆ Proyectos3/piratesbey ▶ npm install find-java-home
npm ERR! Linux 3.17.4-1-ARCH
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "find-java-home"
npm ERR! node v0.10.33
npm ERR! npm  v2.1.12

npm ERR! Uncaught, unspecified "error" event.
npm ERR! 
npm ERR! If you need help, you may report this error at:
npm ERR!     <http://github.com/npm/npm/issues>
npm ERR! Linux 3.17.4-1-ARCH
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "find-java-home"
npm ERR! node v0.10.33
npm ERR! npm  v2.1.12

npm ERR! shasum check failed for /tmp/npm-5651-d731db4c/registry.npmjs.org/find-java-home/-/find-java-home-0.1.1.tgz
npm ERR! Expected: 208546371ff78761608e18f7bb282718f8f58e39
npm ERR! Actual:   da39a3ee5e6b4b0d3255bfef95601890afd80709
npm ERR! From:     https://registry.npmjs.org/find-java-home/-/find-java-home-0.1.1.tgz
npm ERR! 
npm ERR! If you need help, you may report this error at:
npm ERR!     <http://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR!     /home/exos/alpha/Proyectos3/piratesbey/npm-debug.log
zbyk commented 9 years ago

Tal vez tuviste algún problema de red, yo acabo de descargarme el paquete y el checksum es el que espera npm. Podés probar dos cosas:

  1. Borrar el directorio node_modules y volver a instalar todo.
  2. Descargar el paquete al home del proyecto e instalarlo a mano:
wget https://registry.npmjs.org/find-java-home/-/find-java-home-0.1.1.tgz
npm install find-java-home-0.1.1.tgz

Y si querés verificar el checksum del paquete:

$ sha1sum find-java-home-0.1.1.tgz 
208546371ff78761608e18f7bb282718f8f58e39  find-java-home-0.1.1.tgz
desyncr commented 9 years ago

No pude reproducir el problema aca tampoco.