Skip to content

Commit

Permalink
chore: specify packageManager version in package.json
Browse files Browse the repository at this point in the history
Following the instructions in
https://vercel.com/docs/errors/error-list#pnpm-engine-unsupported

It should fix the error:

```text
Using package.json#engines.pnpm without corepack and package.json#packageManager could lead to failed builds with ERR_PNPM_UNSUPPORTED_ENGINE. Learn more: https://vercel.com/docs/errors/error-list#pnpm-engine-unsupported
 ERR_PNPM_UNSUPPORTED_ENGINE  Unsupported environment (bad pnpm and/or Node.js version)
```
```
  • Loading branch information
mikavilpas committed Sep 5, 2024
1 parent 49b1cbf commit f5a3339
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"node": "^18.0.0 || >=20.0.0",
"pnpm": ">=8 <9"
},
"packageManager": "[email protected]",
"devDependencies": {
"@changesets/changelog-github": "0.5.0",
"@changesets/cli": "2.27.7",
Expand Down

0 comments on commit f5a3339

Please sign in to comment.