pnpm icon indicating copy to clipboard operation
pnpm copied to clipboard

pnpm install creates ~ directory inside project folder, instead of going to ~

Open brachkow opened this issue 1 year ago • 3 comments

pnpm version: 8.5.1

Code to reproduce the issue: pnpm install

Expected behavior:

PNPM downloads dependencies to store somewhere at ~ and reuses them in project.

Actual behavior:

PNPM creates a hierarchy of ~ inside project folder, and downloads all packages into it (without reusing). Problem was previously described and solved here but fix is not working for me — https://github.com/pnpm/pnpm/issues/5606

image

Additional information:

I installed pnpm via brew. My shell is fish.

  • node -v prints: 16.20.0
  • Windows, macOS, or Linux?: macOS

brachkow avatar May 18 '23 10:05 brachkow