Skip to content

How to specify packageManager major version instead of specific one in package.json? #7961

Answered by zkochan
amatlash asked this question in Q&A
Discussion options

You must be logged in to vote

It only works with exact versions. This is how it was designed by corepack team. If you want to ignore the error, set package-manager-strict to false: https://pnpm.io/npmrc#package-manager-strict

Or just remove the field.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by amatlash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants