back to blog

pnpm on External Disk

If you are trying pnpm install on a project stored on an external disk, you might have realized it does not work.

This was a solution posted by Anthony Fu in July 2023, which was supposed to fix the issue.

This didn’t work for me.

I went to investigate the other configurations available on pnpm and I found that these 2 additional configurations below I found worked. If you are having the same issue, try these configurations below and see if it helps you.

package-import-method=copy
prefer-symlinked-executables=false
symlink=false
node-linker=hoisted