feat: update Node.js requirements to 22 LTS for ONNX compatibility
- Update package.json engines to require Node.js >=22.0.0 - Add .nvmrc file specifying Node.js 22 - Document Node.js version requirements in README - Add warning about Node.js 24 ONNX runtime compatibility issues - Provide clear guidance for production deployments This addresses known crashes during inference operations on Node.js 24 while ensuring maximum stability with the latest LTS version.
This commit is contained in:
parent
bb38cacb9b
commit
fda327c7bc
3 changed files with 14 additions and 1 deletions
|
|
@ -55,7 +55,7 @@
|
|||
}
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=18.0.0"
|
||||
"node": ">=22.0.0"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "npm run build:patterns:if-needed && tsc",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue