Is it possible to centralize node_modules to another Drive/Disk? #3716
-
I've recently been looking for a good way to centralize my I'm guessing this is a OS limitation on how linking can only be done within the same filesystem, but was curious if any one knows a good work around, or another approach I could try to offload all my I'm using windows 10 specifically, but I'm guessing the limitation would be the same on linux or mac too. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
What you are trying to do is not possible. The store should be in the same file system as the node_modules. If they are not, pnpm will copy the files. On some systems, where FUSE is supported, you may try to mount a node_modules directory using this experimental package: https://github.com/pnpm/pnpm/blob/main/packages/mount-modules/README.md |
Beta Was this translation helpful? Give feedback.
What you are trying to do is not possible. The store should be in the same file system as the node_modules. If they are not, pnpm will copy the files.
On some systems, where FUSE is supported, you may try to mount a node_modules directory using this experimental package: https://github.com/pnpm/pnpm/blob/main/packages/mount-modules/README.md