You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Deployment of NextJs app on firebase app hosting fails when NODE_ENV is set to production in the apphosting.yaml file and availability is set to BUILD as follows:
- variable: NODE_ENV
value: "production"
When setting NODE_ENV availability to RUNTIME, it builds successfully:
Hi there, would it be possible to share the code you're deploying? It would be great to take a look at your use case and debug it further if possible, thanks!
Describe the bug
Deployment of NextJs app on firebase app hosting fails when
NODE_ENV
is set to production in theapphosting.yaml
file and availability is set to BUILD as follows:When setting NODE_ENV availability to RUNTIME, it builds successfully:
Additional context
How are you using GCP buildpacks?
I am using Firebase app hosting, so cloud build I think.
What language is your project primarily written in?
Node.js
Steps To Reproduce
Set NODE_ENV=production in
apphosting.yaml
file as follows:Error Logs
I am unsure whether this is expected behaviour or not. I would like to apologise in advance, I don't primarily work with Node.js or Webpack.
The text was updated successfully, but these errors were encountered: