Students have found an ERR_PNPM_NO_GLOBAL_BIN_DIR error while installing Preflight. This error occurs when a pnpm command is run before the global bin directory has been created using the pnpm setup command. To prevent this error, we are adding the pnpm setup command to the system setup guide that sets up this directory mentioned in this Node.js/corepack issue.
Additional Notes
Explicit testing on Linux/Ubuntu has not been performed in this PR
Closes #58 Closes #42
Students have found an
ERR_PNPM_NO_GLOBAL_BIN_DIR
error while installing Preflight. This error occurs when apnpm
command is run before the global bin directory has been created using thepnpm setup
command. To prevent this error, we are adding thepnpm setup
command to the system setup guide that sets up this directory mentioned in this Node.js/corepack issue.Additional Notes
sudo pnpm setup
command for Linux mentioned in this comment is not necessary, because thehttps://get.pnpm.io/install.sh
setup script for Linux also doesn't includesudo
TODO
pnpm setup
commands on all OSes