Open sunnypranay opened 1 year ago
I've just tried to replace it this way in package-lock.json and get other errors:
npm WARN tarball tarball data for three@git+https://github.com/supermedium/three.js.git#5ef2887ab3621cae54fa129a500424d6caa25b62 (sha512-I3qUdpDBTltVg6YXEZQeckf6GCq8u/6elelab9kfHzkloUzb9aexZyNVyselBejvSmqxq70VIJksRQgxGoeJ1Q==) seems to be corrupted. Trying one more time.
npm WARN tarball tarball data for three@git+https://github.com/supermedium/three.js.git#5ef2887ab3621cae54fa129a500424d6caa25b62 (sha512-I3qUdpDBTltVg6YXEZQeckf6GCq8u/6elelab9kfHzkloUzb9aexZyNVyselBejvSmqxq70VIJksRQgxGoeJ1Q==) seems to be corrupted. Trying one more time.
npm ERR! code EINTEGRITY
npm ERR! Verification failed while extracting three@git+https://github.com/supermedium/three.js.git#5ef2887ab3621cae54fa129a500424d6caa25b62:
npm ERR! Verification failed while extracting three@git+https://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)
For me it's about other packages, but as soon as the initial error was the same, reason of the error should be the same either.
Description:
Attempting to install the moonrider repository dependencies via npm install results in a timeout error. It seems the issue arises when trying to fetch packages using the git protocol.
Steps to Reproduce:
Expected Behavior:
npm install
to install all dependencies without any issues.Actual Behavior:
Possible Solution:
It appears that the issue might be related to the use of the git protocol in package URLs. A potential fix could be to switch to the HTTPS protocol as follows:
Change the URLs in package.json from: