Skip to content

Commit 2f2f9f0

Browse files
NicolappsConvex, Inc.
authored andcommitted
Make NPM version requirement more explicit (#41276)
GitOrigin-RevId: e59d31baa69ddbdc3685d1689ae50d0e2cf9af22
1 parent 5bf681a commit 2f2f9f0

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

npm-packages/docs/docs/production/project-configuration.mdx

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,16 @@ the `_generated/api.js` file via the `generateCommonJSApi` field.
7979
### Configuring the Node.js version
8080

8181
You can specify which Node.js version is used by Node actions via the
82-
`node.nodeVersion` field. To do so, you must use the `convex` NPM package
83-
version 1.27.0 or later. The currently supported values are `"18"`, `"20"`, and
82+
`node.nodeVersion` field. The currently supported values are `"18"`, `"20"`, and
8483
`"22"`. [Read more](/functions/runtimes.mdx#nodejs-version-configuration).
8584

85+
<Admonition type="info" title="Convex version required">
86+
87+
To change the Node.js version used by your project, you must use the `convex`
88+
NPM package version 1.27.0 or later.
89+
90+
</Admonition>
91+
8692
```json title="convex.json"
8793
{
8894
"$schema": "https://raw.githubusercontent.com/get-convex/convex-backend/refs/heads/main/npm-packages/convex/schemas/convex.schema.json",

0 commit comments

Comments
 (0)