Should pnpm setup be run as part of all System Setup guides? (and are there any other steps that need to be run, such as the source command that pnpm tells you to run after pnpm setup?)
Students are running into issues with ERR_PNPM_NO_GLOBAL_BIN_DIR errors:
$ pnpm add --global @upleveled/preflight
ERR_PNPM_NO_GLOBAL_BIN_DIR 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.
Should
pnpm setup
be run as part of all System Setup guides? (and are there any other steps that need to be run, such as thesource
command that pnpm tells you to run afterpnpm setup
?)Students are running into issues with
ERR_PNPM_NO_GLOBAL_BIN_DIR
errors: