appujet / WaveMusic

WaveMusic is a discord music bot base in (Shoukaku)
GNU General Public License v3.0
180 stars 144 forks source link

Integrity check fails for @prisma/client@https://registry.npmjs.org/@prisma/client/-/client-5.6.0.tgz #63

Closed TheFuul closed 7 months ago

TheFuul commented 9 months ago

Describe the bug Whenever I run npm i it gives me the following error:

npm WARN tarball tarball data for @prisma/client@https://registry.npmjs.org/@prisma/client/-/client-5.6.0.tgz (sha512-2xsPaz4EaMKj1WS9iW6MlPhmbqtBsXAOeVttSePp8vTFTtvzh2hZbDgswwBdSCgPzmmwF+tLB259QzggvCmJqA==) seems to be corrupted. Trying again.
npm ERR! code EINTEGRITY
npm ERR! sha512-2xsPaz4EaMKj1WS9iW6MlPhmbqtBsXAOeVttSePp8vTFTtvzh2hZbDgswwBdSCgPzmmwF+tLB259QzggvCmJqA== integrity checksum failed when using sha512: wanted sha512-2xsPaz4EaMKj1WS9iW6MlPhmbqtBsXAOeVttSePp8vTFTtvzh2hZbDgswwBdSCgPzmmwF+tLB259QzggvCmJqA== but got sha512-mUDefQFa1wWqk4+JhKPYq8BdVoFk9NFMBXUI8jAkBfQTtgx8WPx02U2HB/XbAz3GSUJpeJOKJQtNvaAIDs6sug==. (1342659 bytes)

To Reproduce Steps to reproduce the behavior:

  1. Go into ./WavMusic/
  2. run npm i

Desktop (please complete the following information):

zeroalpha commented 8 months ago

I ended up deleting the package-lock.json before running npm i again

TheFuul commented 7 months ago

Thank you, that solved it for me too