The node version must be added to the build parameter of the eas.json
file.
"build": {
"development": {
// rest of the code
"node": "20.18.1"
},
"preview": {
// rest of the code
"node": "20.18.1"
},
"production": {
// rest of the code
"node": "20.18.1"
}