Confused about the general concept of PNPM #8553
-
So I though that the idea of PNPM is that it creates symlinks instead of installing packages for every project in the So today I was doing some cleanup on some of my projects. As a rough idea lets say my folder with different code bases in it was about 20Gb. After going directory by directory (Project by project) deleting all the How is this possible? I though I was just deleting symlinks. Am I missing something? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
While pnpm is known for creating hard links (not symlinks) from the global store, this might not always be the case. A number of factors could come into play:
A further possibility is that the
In any event, you're definitely not just deleting symlinks. |
Beta Was this translation helpful? Give feedback.
While pnpm is known for creating hard links (not symlinks) from the global store, this might not always be the case. A number of factors could come into play:
npmrc
files. In particular, pay special attention to thepackage-import-method
parameter.A further possibility is that the
node_modules
directories are NOT actually consuming the 15GB of disk sp…