firebase-tools icon indicating copy to clipboard operation
firebase-tools copied to clipboard

`[email protected]` module incompatibility with node 24.0.0

Open frontrk opened this issue 6 months ago • 1 comments

[REQUIRED] Environment info

firebase-tools: v14.3.1 pnpm: v10.10.0 Node v24.0.0

Platform: Ubuntu

[REQUIRED] Test case

While installing/updating firebase-tools v14.3.1 with the latest Node release the error ERR_PNPM_UNSUPPORTED_ENGINE is shown.

[REQUIRED] Steps to reproduce

  1. Setup a project with Node v24.0.0 and PNPM v10.10.0
  2. Add Firebase tools to the project pnpm i firebase-tools

[REQUIRED] Expected behavior

Firebase tools is added successfully to the project

[REQUIRED] Actual behavior

Error is thrown:

 ERR_PNPM_UNSUPPORTED_ENGINE  Unsupported environment (bad pnpm and/or Node.js version)

This error happened while installing the dependencies of [email protected]

Your Node version is incompatible with "[email protected]".

Expected version: 18 || 20 || 22
Got: v24.0.0

This is happening because the package's manifest has an engines.node field specified.
To fix this issue, install the required Node version.

frontrk avatar May 13 '25 10:05 frontrk

https://github.com/firebase/superstatic/pull/493 should fix this.

joehan avatar May 13 '25 18:05 joehan