I am able to deploy to a standard app service, but when I try to deploy to my flexible environment, I receive this error:
Step #1: /app/node_modules/firebase-admin/lib/app/firebase-namespace.js:84
Step #1: this.INTERNAL = new FirebaseNamespaceInternals(appStore ?? new lifecycle_1.AppStore());
Google turned up some results for that error and they were about the nodejs version not jiving with the version of firebase-admin. Initially, I was seeing the same problem on my standard environment so I made the change in my package.json to update to version 16 and included runtime: nodejs16
in my app.yaml for the standard environment. That fixed my deployment issue for the standard environment. My flex environment is still showing the same error. I have updated my app.yaml for my flex environment to this:
runtime: nodejs
env: flex
runtime_config:
runtime_version: 16
but still seeing the same error.
any ideas of other things I should try to resolve this issue?
TIA