Skip to content

Commit 7b46e64

Browse files
committed
chore: downgrade the min requirements of node to 18.x
1 parent 8139029 commit 7b46e64

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Canis supports multiple AI providers out of the box:
3838

3939
## Prerequisites
4040

41-
- Node.js (>=24)
41+
- Node.js (>=18.x)
4242
- MySQL
4343

4444
You can changed the db provider in `prisma/schema.prisma`

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,6 @@
7474
"typescript": "^5.8.3"
7575
},
7676
"engines": {
77-
"node": ">=24.x"
77+
"node": ">=18.x"
7878
}
7979
}

src/components/utils/requirements.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import redis from "../redis";
77

88
function checkNodeVersion() {
99
const current = process.versions.node;
10-
const required = ">=24.0.0";
10+
const required = ">=18.0.0";
1111
if (!semver.satisfies(current, required)) {
1212
log.warn("Node", `Node.js ${required} required, found ${current}`);
1313
} else {

0 commit comments

Comments
 (0)