upleveled / system-setup

Set up a PERN development environment on Windows, macOS and Linux
28 stars 19 forks source link

Update global pnpm Preflight installation command #26

Closed ProchaLu closed 1 year ago

ProchaLu commented 1 year ago

Description

This PR updates the installation command for the pnpm package manager's global Preflight installation. The current installation command is pnpm global add @upleveled/preflight, but this PR changes it to pnpm add --global @upleveled/preflight. This change aligned with the recommended installation process for pnpm packages.

Running the command without creating global-bin-dir with pnpm setup throws an error

ERR_PNPM_NO_GLOBAL_BIN_DIR Unable to find the global bin directory

Screenshot 2023-03-29 at 15 16 49

Todo

karlhorky commented 1 year ago

Maybe you can also do a PR for Preflight: https://github.com/upleveled/preflight

karlhorky commented 7 months ago

Seems like the ERR_PNPM_NO_GLOBAL_BIN_DIR issue is indeed still a problem on a fresh Linux (Ubuntu) installation: