Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid ERR_PNPM_NO_GLOBAL_BIN_DIR error #64

Merged
merged 4 commits into from
Apr 8, 2024
Merged

Avoid ERR_PNPM_NO_GLOBAL_BIN_DIR error #64

merged 4 commits into from
Apr 8, 2024

Conversation

ProchaLu
Copy link
Member

@ProchaLu ProchaLu commented Apr 5, 2024

Closes #58
Closes #42

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

TODO

  • test pnpm setup commands on all OSes

Copy link
Member

@karlhorky karlhorky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving to unblock, the Windows and macOS version has already been tested

Make sure you test the Linux version before merging

@karlhorky karlhorky changed the title Fix ERR_PNPM_NO_GLOBAL_BIN_DIR error Avoid ERR_PNPM_NO_GLOBAL_BIN_DIR error Apr 8, 2024
@ProchaLu ProchaLu merged commit cea6e7f into main Apr 8, 2024
@ProchaLu ProchaLu deleted the add-pnpm-setup branch April 8, 2024 10:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants