firebase-tools
firebase-tools copied to clipboard
`[email protected]` module incompatibility with node 24.0.0
[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
- Setup a project with Node v24.0.0 and PNPM v10.10.0
- 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.
https://github.com/firebase/superstatic/pull/493 should fix this.