nodejs / help

:sparkles: Need help with Node.js? File an Issue here. :rocket:
1.44k stars 276 forks source link

use "yarn install" There are always errors “error Error: incorrect data check at Zlib.zlibOnError [as onerror] (node:zlib:189:17)” #4409

Closed luckeyQing closed 1 month ago

luckeyQing commented 1 month ago

Node.js Version

16.20.1

NPM Version

8.19.4

Operating System

MacOs Sonoma 14.5

Subsystem

zlib

Description

In my project install dependency package use "yarn install" There are always errors “error Error: incorrect data check at Zlib.zlibOnError [as onerror] (node:zlib:189:17)” Project cannot run

image

Minimal Reproduction

No response

Output

No response

Before You Submit

preveen-stack commented 1 month ago

Hopefully https://stackoverflow.com/questions/69793334/z-data-error-errno-3-zlib-incorrect-data-check-mba-m1 This link should be of some help

RedYetiDev commented 1 month ago

Hi! Thanks for the issue. While the error mentions Zlib, this is ultimately an issue with the data, which is coming from yarn. Please report this to them