Skip to content

Fix: Firebase not supporting node16 deployments#356

Open
zwilling wants to merge 2 commits into
privacy-ethereum:devfrom
Galactica-corp:fix/firebase-node-version
Open

Fix: Firebase not supporting node16 deployments#356
zwilling wants to merge 2 commits into
privacy-ethereum:devfrom
Galactica-corp:fix/firebase-node-version

Conversation

@zwilling

Copy link
Copy Markdown
Contributor

Description

We were unable to deploy p0tion to firebase as described in the tutorial.
It failed with the error

Failed to create function projects/galactica-ceremony-test/locations/europe-west1/functions/bandadaValidateProof
⚠  functions: HTTP Error: 400, Runtime 'nodejs16' is not supported. New deployment of nodejs16 is not allowed

Apperantly, Google decomissioned Node16 early 2025.

This PR fixes the issue by upgrading to node 20.

How Has This Been Tested?

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation (Is there something to change?)
  • My changes generate no new warnings
  • Any dependent changes have been merged and published in downstream modules
  • I reviewed the code of conduct and contributors' guide

Firebase does not support deploying node 16 functions anymore. After
changing to node 20, a bunch of config changes were needed to get it to
compile.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant