Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package firebase-frameworks is not compatible with Node@v22 #7895

Open
service-paradis opened this issue Nov 1, 2024 · 0 comments
Open

Package firebase-frameworks is not compatible with Node@v22 #7895

service-paradis opened this issue Nov 1, 2024 · 0 comments

Comments

@service-paradis
Copy link

[REQUIRED] Environment info

firebase-tools: 13.23.1

Platform: Any

[REQUIRED] Test case

  npm error code EBADENGINE
  npm error engine Unsupported engine
  npm error engine Not compatible with your version of node/npm: firebase-frameworks@0.11.4
  npm error notsup Not compatible with your version of node/npm: firebase-frameworks@0.11.4
  npm error notsup Required: ***"node":"^16.0.0 || ^18.0.0 || ^20.0.0"***
  npm error notsup Actual:   ***"npm":"10.9.0","node":"v22.10.0"***

[REQUIRED] Steps to reproduce

  1. Create a NextJs project and use Firebase frameworksBackend hosting with Node@v22
  2. Install dependencies
  3. Build the project
  4. Try to deploy a preview channel with something like npx firebase-tools@latest hosting:channel:deploy ...

[REQUIRED] Expected behavior

A new preview channel being created.

[REQUIRED] Actual behavior

Right now, we got a dependency error coming from firebase-frameworks when using Node@v22. The package firebase-frameworks need to be updated to be compatible with Node@v22 (https://github.com/FirebaseExtended/firebase-framework-tools/blob/main/packages/firebase-frameworks/package.json#L46).

I wanted to open an issue in the https://github.com/FirebaseExtended/firebase-framework-tools repo, but unfortunately, issues are not enabled there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants