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

pnpm version requirement cannot be met #10

Open
jost-s opened this issue Apr 11, 2024 · 2 comments
Open

pnpm version requirement cannot be met #10

jost-s opened this issue Apr 11, 2024 · 2 comments

Comments

@jost-s
Copy link

jost-s commented Apr 11, 2024

A freshly scaffolded app cannot be installed/executed using pnpm, because the version requirement of >=9.0.0 cannot be met and such commands fail with

$ pnpm i
 ERR_PNPM_UNSUPPORTED_ENGINE  Unsupported environment (bad pnpm and/or Node.js version)

Your pnpm version is incompatible with "/Users/jost/Desktop/holochain/scaffolded-tryorama/peter".

Expected version: >=9.0.0
Got: 8.15.5

This is happening because the package's manifest has an engines.pnpm field specified.
To fix this issue, install the required pnpm version globally.

To install the latest version of pnpm, run "pnpm i -g pnpm".
To check your pnpm version, run "pnpm -v".

The latest version of pnpm to date is 8.15.6.

@guillemcordoba
Copy link
Contributor

The pnpm bundled in the nix devshell is 9.0.0 alpha, so I think the problem is that you could not enter the nix she'll in the first place.

@jost-s
Copy link
Author

jost-s commented Apr 12, 2024

Ah, okay, cutting edge! Yes, sorting out the nix flake issue will resolve this too then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants