fix(mobile): update Node.js minimum requirement to 20.19.4
metro-config@0.83.3 uses Array.prototype.toReversed() which was added in Node.js 20.0.0. The README incorrectly stated "Node.js 18+" causing users to run `npx expo start` with Node 18 and hit: TypeError: configs.toReversed is not a function - Update README.md to say "Node.js 20.19.4+" with nvm hint - Update package.json engines from >=20.16.0 to >=20.19.4 to match metro-config's exact minimum (as declared in package-lock.json) Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
This commit is contained in:
+1
-1
@@ -55,7 +55,7 @@
|
||||
"typescript": "^5.3.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=20.16.0"
|
||||
"node": ">=20.19.4"
|
||||
},
|
||||
"private": true,
|
||||
"expo": {
|
||||
|
||||
Reference in New Issue
Block a user