pnpm.executionEnv.nodeVersion vs engines.runtime #10172
Replies: 3 comments 15 replies
-
|
What is the issue? This works for me in package.json: "engines": {
"runtime": {
"name": "node",
"version": "23",
"onFail": "download"
}
}
|
Beta Was this translation helpful? Give feedback.
-
|
Separate question -- after adding this: pnpm wants to add If so, shouldn't this be covered in docs? This behavior is not observed when using |
Beta Was this translation helpful? Give feedback.
-
|
Another note on this subject -- I ran into problems when using This seems to be alleviated by removing I just wanted to mention this in case this does not align with the expected usage. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
As of pnpm 10.21.0, is
pnpm.executionEnv.nodeVersiondeprecated? And if so what is the correct way to specify the node version for the root workspace? Theengines.runtimedeclaration does not seem to do it.Beta Was this translation helpful? Give feedback.
All reactions