pnpm version: 6.13.0
Code to reproduce the issue:
My Node.js version: v16.6.2
My pnpm version: 6.13.0
What's in my package.json:
{
"engines": {
"node": ">=16"
}
}
Expected behavior:
When I run pnpm start, there shouldn't be any errors or warnings.
Actual behavior:
When I run pnpm start, I got this warning:
WARN Unsupported engine: wanted: {"node":">=16"} (current: {"node":"v14.17.0","pnpm":"6.13.0"})
I guess it's probably because when I run npm scripts, it uses the node executable bundled in the pnpm, instead of the node executable I installed in the OS?
pnpm version: 6.13.0
Code to reproduce the issue:
My Node.js version: v16.6.2
My pnpm version: 6.13.0
What's in my
package.json:{ "engines": { "node": ">=16" } }Expected behavior:
When I run
pnpm start, there shouldn't be any errors or warnings.Actual behavior:
When I run
pnpm start, I got this warning:I guess it's probably because when I run npm scripts, it uses the
nodeexecutable bundled in thepnpm, instead of thenodeexecutable I installed in the OS?