Closed gsario closed 2 weeks ago
I had a similar issue getting 304
with fast-deep-equal
on public wifi, which was fixed after I switched to different wifi.
Not sure if this will help, but worth giving a try:)
Fixed using Claude.
Cleared npm cache completely:
rm -rf ~/.npm
mkdir ~/.npm
Installed the latest eslint
globally:
npm install -g eslint@latest
Thank you @Arxtage! Changing Wi-Fi really helped right away. I don’t know what kind of magic is hidden behind this..
I don’t understand what kind of magic it is, but I’ve been looking for an answer to this problem for two days, but it was solved by changing Wi-Fi
I had a similar issue getting
304
withfast-deep-equal
on public wifi, which was fixed after I switched to different wifi. Not sure if this will help, but worth giving a try:)
Thank you very much @Arxtage for solution!!
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
npm
fails to install any packages, downloading any dependency related toeslint
causesTAR_BAD_ARCHIVE
error.Here's what I tried:
npm audit verify
,npm audit fix
,npm audit fix --force
eslint
, but react app creation scripts contain it by defaulteslint
version, but I get the sameTAR_BAD_ARCHIVE
wheneslint
is being installedHere are the failed downloads from the logs after running
npm install
,npm init @eslint/config@latest
or any other package install that has dependencies oneslint
:Expected Behavior
The packages should be installed, and .tgz archives normally downloaded.
Steps To Reproduce
No response
Environment