[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:
- Install the referenced version of node in the readme
10.15.0
- run yarn
- 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)