supermedium / moonrider

🌕🏄🏿 Surf the musical road among the stars. Side project built by two people in a few months to demonstrate WebXR.
https://moonrider.xyz
MIT License
592 stars 232 forks source link

npm install fails while installing three.js.git ( checksum error ) #189

Closed frabul closed 9 months ago

frabul commented 9 months ago

I checkd out master branch then ran npm install. At some point npm complains about a checksum integrity che for three.js

npm ERR! Verification failed while extracting three@git+ssh://git@github.com/supermedium/three.js.git#5ef2887ab3621cae54fa129a500424d6caa25b62:
npm ERR! Verification failed while extracting three@git+ssh://git@github.com/supermedium/three.js.git#5ef2887ab3621cae54fa129a500424d6caa25b62:
npm ERR! sha512-I3qUdpDBTltVg6YXEZQeckf6GCq8u/6elelab9kfHzkloUzb9aexZyNVyselBejvSmqxq70VIJksRQgxGoeJ1Q== integrity checksum failed when using sha512: wanted sha512-I3qUdpDBTltVg6YXEZQeckf6GCq8u/6elelab9kfHzkloUzb9aexZyNVyselBejvSmqxq70VIJksRQgxGoeJ1Q== but got sha512-DqIiu7ihy94n/Ediro/hchedbNbFhvYpb31ZPXlKbmTN3fo7tnICW3l4u4PA5vx2ySiTTpT2YmtNTox/Z8HB8A==. (3410328 bytes)
dmarcos commented 9 months ago

should be innocuous. we can probably remove that dependency. moonrider uses A-Frame from vendor or CDN.

frabul commented 9 months ago

To make it work i also removed dependecies to UglifyJS2, they seems to cause troubles image

dmarcos commented 9 months ago

It seems you're in a network where you don't have access to github via npm

frabul commented 9 months ago

Nope, for some reason it doesn't work only for that repo, i also tried to execute git ls-remote on that repo and it fails. However after solvig these issues everything seems to work allright, i'm closing this. Thanks.