Skip to content

Running any pnpm command under FreeBSD results in a "Unsupported platform" panic #14859

Description

@MiyukiNozomi

Verify latest release

  • I verified that the issue exists in the latest pnpm release

pnpm version

No response

Which area(s) of pnpm are affected? (leave empty if unsure)

CLI

Link to the code that reproduces this issue or a replay of the bug

No response

Reproduction steps

Literally attempting any pnpm command under FreeBSD. even --version fails.

Describe the Bug

After updating from pnpm 10.31 to 12.4.1, it appears there has been a regression on what operating systems pnpm supports.
Attempting to run any pnpm command, even "--version" results in a panic:

Error: × Main thread panicked. ├─▶ at pnpm/crates/config/src/defaults.rs:107:14 ╰─▶ unsupported operating system: freebsd help: set theRUST_BACKTRACE=1` environment variable to display a backtrace.

fish: Job 1, 'pnpm --version' terminated by signal SIGABRT (Abort)`

There was a recent issue on pnpm not installing on FreeBSD (#14597), that described an installation bug (closed just 5 days ago as of writing), however, it appears whatever changes the pull request introduces have not been tested.

Expected Behavior

For pnpm to either inform on its documentation that FreeBSD is not a supported platform, or work properly as it used to in the past.

Which Node.js version are you using?

24.18.0

Which operating systems have you used?

  • macOS
  • Windows
  • Linux

If your OS is a Linux based, which one it is? (Include the version if relevant)

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions