[SOLVED] Tarball for accessibility-developer-tools corrupt

Not sure if this is a Meteor problem (it has the version 2.12.0 which is what my Meteor version is) but since last night I’m constantly getting these tarball corrupt errors:

npm WARN tar zlib: incorrect data check
npm WARN tarball cached data for accessibility-developer-tools@https://registry.npmjs.org/accessibility-developer-tools/-/accessibility-developer-tools-2.12.0.tgz (sha512-) seems to be corrupted. Refreshing cache.
npm WARN tarball tarball data for accessibility-developer-tools@https://registry.npmjs.org/accessibility-developer-tools/-/accessibility-developer-tools-2.12.0.tgz (sha512-) seems to be corrupted. Trying again.
npm WARN deprecated highlight.js@9.18.5: Support has ended for 9.x series. Upgrade to @latest

Does anyone else have this problem? Using nodeJS version 14.21.3, npm 9.8.0 and like I wrote, Meteor 2.12.0

This is whilst trying to run my Electron app locally for development, the highlight.js is dependency of @babel which is automatically added to the desktop-build folder, so I can’t change anything in it’s package.json file.

EDIT: when I use a VPN connection it works (sometimes, not always).

Thanks for any help offered,

Andreas

My release name is METEOR@2.12. In Github there is no Meteor branch as 2.12.0

Thanks for pointing this out, you’re correct that my Meteor version is also 2.12

2 Likes

Thanks @rjdavid - seems it was highlighted in April but now it’s happening.

So for now only downgrading below version 9 will solve it?

I actually don’t know how you are using a separate npm since Meteor has its own npm

meteor npm -version

1 Like

It’s the npm version installed locally on my computer.

The Meteor one is 6.14.17 as per your command. Thanks

As per @rjdavid suggestion I have downgraded my local npm to version 8.19.4 now and the problem is gone.

Thanks!