How could I set the node version in the runConfig? Firebase app hosting
lucasoz opened this issue · 0 comments
lucasoz commented
Describe the bug
I'm trying to deploy in firebase app hosting. My project is using "next": "^13.4.7"
and in the package json I have "engines": { "node": 18" },
I can see in the build details that the project has been building with node 18
Step #2: Installing Node.js v18.20.3.
The problem is that my code is not compatible with other version then I'm getting Internal Server Error when I enter to any route.
I thing that the google cloud run machine is running with node 22
Additional context
How are you using GCP buildpacks?
-
pack
and thegcr.io/buildpacks/builder
- Cloud Functions
- Cloud Run
- Cloud Build
- App Engine Standard
- App Engine Flex
What language is your project primarily written in?
next js, node js, react