nodejs / corepack

Zero-runtime-dependency package acting as bridge between Node projects and their package managers
MIT License
2.46k stars 160 forks source link

Corepack "EACCES": Clearer Errors #343

Closed Medhansh404 closed 8 months ago

Medhansh404 commented 8 months ago

329

Targeted Error Handling: Code distinguishes between EEXIST (not relevant) and EACCES (triggers the specific error message), while other errors are still thrown for debugging. Implementation: Changes are made in the getTemporaryFolder function within node_modules/corepack/dist/lib/corepack.cjs. Testing: not done.

aduh95 commented 8 months ago

There are still lint errors to address.