You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running pnpm install -g <any global package> gives the following error:
ERROR Unable to find the global bin directory
Run "pnpm setup" to create it automatically, or set the global-bin-dir setting, or the PNPM_HOME env variable. The global bin directory should be in the PATH.
I think it's related to this issue, which is that unlike npm, pnpm doesn't try to autodetect where to put the global installations.
And while you could configure it by running pnpm setup, then it would configure all asdf's pnpm installations to use the same directory, regardless of what version of pnpm you're using, which seems counter to asdf's purpose of allowing multiple versions being installed.
The text was updated successfully, but these errors were encountered:
To Reproduce
asdf plugin install pnpm
pnpm install -g <any global package>
gives the following error:I think it's related to this issue, which is that unlike npm, pnpm doesn't try to autodetect where to put the global installations.
And while you could configure it by running
pnpm setup
, then it would configure all asdf's pnpm installations to use the same directory, regardless of what version of pnpm you're using, which seems counter to asdf's purpose of allowing multiple versions being installed.The text was updated successfully, but these errors were encountered: