Expo upgraded their servers to Node 18 on Nov 27th https://expo.dev/changelog/2023/11-03-node-default
We will release an update soon but if you want to still upgrade your code now then follow the below steps.
Steps :
1. Install Node.js 18.18.2
2. Make sure Node.js has changed by running the command “node -v”
3. Install the npm packages using the command
npm install -g eas-cli firebase-tools yarn
4. Delete the “node_modules” folder from the Source code folder and subfolders.
5. Change line 14 of functions/package.json as "node": "18"
6. Install the cross-env package using the command
yarn workspace web-app add --dev cross-env
6. Change the script section in your web-app/package.json
"scripts": {
"start": "cross-env NODE_OPTIONS=--openssl-legacy-provider react-app-rewired start",
"build": "cross-env NODE_OPTIONS=--openssl-legacy-provider react-app-rewired build",
"eject": "react-app-rewired eject"
},
7. Run “yarn” and continue like earlier.