pnpm on External Disk

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

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

Trying this didn't work for me.

I went to investigate of 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

logo