massimocandela / geofeed-finder

Utility to find geofeed files linked from rpsl.
BSD 3-Clause "New" or "Revised" License
70 stars 8 forks source link

npm ci error #34

Closed s8mathur closed 5 months ago

s8mathur commented 5 months ago

Since Feb 02, my ARM64 builder has been reporting the following error when compiling the binary using `npm ci --silent`` as seen in the build.sh script. Any pointers are appreciated; thanks!

[Container] 2024/02/18 13:12:28.407279 Running command npm ci
npm WARN tarball tarball data for whois@https://gitpkg.now.sh/massimocandela/node-whois?dist (sha512-f78rDbRYVuPXAdxo8NXzY6bZgQydSqQTqN+rI0lmIDciGCq+sAvw/CMo9eRYe3K+NCHZ/f7Lsk0AZwtozE6fHg==) seems to be corrupted. Trying again.
npm WARN tarball tarball data for whois@https://gitpkg.now.sh/massimocandela/node-whois?dist (sha512-f78rDbRYVuPXAdxo8NXzY6bZgQydSqQTqN+rI0lmIDciGCq+sAvw/CMo9eRYe3K+NCHZ/f7Lsk0AZwtozE6fHg==) seems to be corrupted. Trying again.
npm ERR! code EINTEGRITY
npm ERR! sha512-f78rDbRYVuPXAdxo8NXzY6bZgQydSqQTqN+rI0lmIDciGCq+sAvw/CMo9eRYe3K+NCHZ/f7Lsk0AZwtozE6fHg== integrity checksum failed when using sha512: wanted sha512-f78rDbRYVuPXAdxo8NXzY6bZgQydSqQTqN+rI0lmIDciGCq+sAvw/CMo9eRYe3K+NCHZ/f7Lsk0AZwtozE6fHg== but got sha512-MCuD1CtJN6pP6xcrfwpgdZZ+md4GFODmghGO3UDtokFfVYBoDTYsQo8BLEz6EDfcB3gcMQmjNR916STmMJ3Q6g==. (21560 bytes)
massimocandela commented 5 months ago

It doesn't look a problem with the package. Try npm cache verify or npm cache clean --force and repeat npm ci

s8mathur commented 5 months ago

Thanks Massimo, will try the verification step and open a separate issue if any changes are needed. Thanks!

massimocandela commented 4 months ago

@s8mathur, I was able to trigger this on one of my VMs. I am going to update the package-lock file.