fix(mobile): suppress Node.js url.parse() deprecation and document Apple session fix
- Add NODE_NO_WARNINGS=1 to all eas.json build profiles (development, preview, production) to suppress [DEP0169] url.parse() deprecation warnings emitted by EAS CLI when the build image's system Node is 22+ - Add NODE_NO_WARNINGS=1 env to both EAS Cloud Workflow jobs (.eas/workflows/create-builds.yml) with explanatory comments - Fix outdated Node.js prerequisite in docs/MobileApp.md (was "18 or later", now "20.19.4 or later" with nvm guidance) - Add troubleshooting sections in docs/MobileApp.md and mobile/README.md covering both the "Session expired Local session" error (Apple ID session expiry + App Store Connect API key recommendation) and the [DEP0169] Node.js deprecation warning Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
This commit is contained in:
@@ -8,6 +8,9 @@
|
||||
"developmentClient": true,
|
||||
"distribution": "internal",
|
||||
"node": "20.19.4",
|
||||
"env": {
|
||||
"NODE_NO_WARNINGS": "1"
|
||||
},
|
||||
"ios": {
|
||||
"image": "macos-sequoia-15.5-xcode-26.0"
|
||||
}
|
||||
@@ -15,6 +18,9 @@
|
||||
"preview": {
|
||||
"distribution": "internal",
|
||||
"node": "20.19.4",
|
||||
"env": {
|
||||
"NODE_NO_WARNINGS": "1"
|
||||
},
|
||||
"ios": {
|
||||
"simulator": false,
|
||||
"image": "macos-sequoia-15.5-xcode-26.0"
|
||||
@@ -23,6 +29,9 @@
|
||||
"production": {
|
||||
"autoIncrement": true,
|
||||
"node": "20.19.4",
|
||||
"env": {
|
||||
"NODE_NO_WARNINGS": "1"
|
||||
},
|
||||
"ios": {
|
||||
"image": "macos-sequoia-15.5-xcode-26.0"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user