Closed psygo closed 1 year ago
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
Apparently, my mistake was that my node
version in package.json
was actually 18.x.x
, and now that I went back to a 16.x.x
, everything seems to work fine — I was confused because my global node
is 16.x.x
. That error message really doesn't help though...
Also, I don't know why but deploying defaults to US even though I'm registered as southamerica-east1
, but that's another issue entirely...
Hi, looks like this is an issue about deploying Firebase Functions using the CLI so I think the repo you are looking for is firebase-tools which is the code for the CLI. I can transfer this issue.
I have the same issue even after adjusting package.json node version to 16.
I have the same issue even after adjusting package.json node version to 16.
I also have this issue. @psygo Can you clarify what you mean when you said you changed your node version to 16.x.x
? Hadn't you already tried changing engines.node
to 16?
I would also add that your nodejs version in your firebase.json
overrides the nodejs version set in your package.json
as described here: https://firebase.google.com/docs/functions/manage-functions?gen=2nd#set_nodejs_version
Seems like your issue is now resolved, @psygo?
Hey @psygo. We need more information to resolve this issue but there hasn't been an update in 7 weekdays. I'm marking the issue as stale and if there are no new updates in the next 3 days I will close it automatically.
If you have more information that will help us get to the bottom of this, just add a comment!
Since there haven't been any recent updates here, I am going to close this issue.
@psygo if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this.
I'm trying to deploy a function which is working locally with the emulators, but, when trying to deploy, give me this:
What I've tried so far:
Downgrade my Node version from 18 to 16.
Yes, I do have this in my
package.json
:Rebuild everything from scratch with Node 16.
I think
libc.so.6
is related to Java, but I don't know how that helps. Here is myjava --version
: