Skip to content

Build fails: error [email protected]: The engine "node" is incompatible with this module. Expected version ">=12". Got "10.15.0" #7042

@TheNotary

Description

@TheNotary

[REQUIRED] Describe your environment

  • Operating System version: macOS Montey
  • Browser version: 109
  • Firebase SDK version: 9.17.1
  • Firebase Product: build script

[REQUIRED] Describe the problem

Steps to reproduce:

Follow instructions in readme to:

  1. Install the referenced version of node in the readme10.15.0
  2. run yarn
  3. See that you are presented with an error message

error [email protected]: The engine "node" is incompatible with this module. Expected version ">=12". Got "10.15.0"

Relevant Code:

$ yarn
yarn install v1.22.19
[1/5] 🔍  Validating package.json...
[2/5] 🔍  Resolving packages...
[3/5] 🚚  Fetching packages...
error yargs@17.2.0: The engine "node" is incompatible with this module. Expected version ">=12". Got "10.15.0"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
$ node -v
v10.15.0
$ yarn -v
1.22.19
$ java -version
openjdk version "1.8.0_302"
OpenJDK Runtime Environment (Temurin)(build 1.8.0_302-b08)
OpenJDK 64-Bit Server VM (Temurin)(build 25.302-b08, mixed mode)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions