Skip to content

Commit

Permalink
Update pnpm version
Browse files Browse the repository at this point in the history
When running

`npm run dev`

I get

```bash
> dev
> pnpm run -F frontend dev

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

Your pnpm version is incompatible with "/Users/no/code/inkathon".

Expected version: 8
Got: 9.0.2

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".
```

adding a `>=` makes it runnable with 9.0.2 and i assume it is a safe alteration
  • Loading branch information
niklasp authored May 22, 2024
1 parent 466248b commit ef6e138
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
],
"engines": {
"node": ">=18 <=20",
"pnpm": "8"
"pnpm": ">=8"
},
"scripts": {
"dev": "pnpm run -F frontend dev",
Expand Down

0 comments on commit ef6e138

Please sign in to comment.