whscullin / apple2js

An Apple II emulator originally written in Javascript, now being converted to TypeScript
http://www.scullinsteel.com/apple2/
MIT License
442 stars 57 forks source link

`apple2shader` does not install due to integrity checksum failure #65

Closed iflan closed 3 years ago

iflan commented 3 years ago

When I do:

$ npm install

it fails with:

npm WARN tarball tarball data for apple2shader@git+ssh://git@github.com/whscullin/apple2shader.git#e87a445148bbcc7f4dbfa2609902071631f96bbc (sha512-nk+2iHnKtWHsUvRFiG77x5A5GmScQKc+MHDJOFB6GYmqTomhakyPdfw1Dkupj+iDQc6EmelUgbnF/weZoTtQ1Q==) seems to be corrupted. Trying again.
npm WARN tarball tarball data for apple2shader@git+ssh://git@github.com/whscullin/apple2shader.git#e87a445148bbcc7f4dbfa2609902071631f96bbc (sha512-nk+2iHnKtWHsUvRFiG77x5A5GmScQKc+MHDJOFB6GYmqTomhakyPdfw1Dkupj+iDQc6EmelUgbnF/weZoTtQ1Q==) seems to be corrupted. Trying again.
npm ERR! code EINTEGRITY
npm ERR! sha512-nk+2iHnKtWHsUvRFiG77x5A5GmScQKc+MHDJOFB6GYmqTomhakyPdfw1Dkupj+iDQc6EmelUgbnF/weZoTtQ1Q== integrity checksum failed when using sha512: wanted sha512-nk+2iHnKtWHsUvRFiG77x5A5GmScQKc+MHDJOFB6GYmqTomhakyPdfw1Dkupj+iDQc6EmelUgbnF/weZoTtQ1Q== but got sha512-UtWmaTPHaSa6dv0FZlpNtA9d4Od3vk6t9929e+gKNjCwSYr6sMnC29h7Qls/SJwpOqArh2o0rEb83dgcfbPepg==. (151960 bytes)

Logs show:

43 http fetch GET 304 https://codeload.github.com/whscullin/apple2shader/tar.gz/e87a445148bbcc7f4dbfa2609902071631f96bbc 400ms (from cache)
44 warn tarball tarball data for apple2shader@git+ssh://git@github.com/whscullin/apple2shader.git#e87a445148bbcc7f4dbfa2609902071631f96bbc (sha512-nk+2iHnKtWHsUvRFiG77x5A5GmScQKc+MHDJOFB6GYmqTomhakyPdfw1Dkupj+iDQc6EmelUgbnF/weZoTtQ1Q==) seems to be corrupted. Trying again.
45 timing reify:rollback:createSparse Completed in 39ms
46 timing reify:rollback:retireShallow Completed in 0ms
47 timing command:install Completed in 11799ms
48 verbose stack Error: sha512-nk+2iHnKtWHsUvRFiG77x5A5GmScQKc+MHDJOFB6GYmqTomhakyPdfw1Dkupj+iDQc6EmelUgbnF/weZoTtQ1Q== integrity checksum failed when using sha512: wanted sha512-nk+2iHnKtWHsUvRFiG77x5A5GmScQKc+MHDJOFB6GYmqTomhakyPdfw1Dkupj+iDQc6EmelUgbnF/weZoTtQ1Q== but got sha512-UtWmaTPHaSa6dv0FZlpNtA9d4Od3vk6t9929e+gKNjCwSYr6sMnC29h7Qls/SJwpOqArh2o0rEb83dgcfbPepg==. (151960 bytes)
iflan commented 3 years ago

It looks like the latest commit hasn't been uploaded or something. The current dependency is:

    "apple2shader": "whscullin/apple2shader#e87a445148bbcc7f4dbfa2609902071631f96bbc",

which fails. But using the previous commit:

    "apple2shader": "whscullin/apple2shader#ca9ba71f10c2cb258d8fae3afb7c4d33e848aa37",

succeeds.

iflan commented 3 years ago

After the version bump, I was able to install with:

    "apple2shader": "whscullin/apple2shader#f42252d8c2ad7055e3e5f5c39e235a710804e7a6",
whscullin commented 3 years ago

I gave up and started publishing the package.