Closed OnkarRuikar closed 1 day ago
Build fails when node v18 is used.
Getting following error trying to do yarn install:
fsh$ yarn install yarn install v1.22.19 [1/5] Validating package.json... [2/5] Resolving packages... [3/5] Fetching packages... error @typescript-eslint/utils@7.14.1: The engine "node" is incompatible with this module. Expected version "^18.18.0 || >=20.0.0". Got "18.17.1" error Found incompatible module.
The files .nvmrc and package.json are recommending old versions of node.
.nvmrc
package.json
Update .nvmrc and package.json files to use v18.18.0.
v18.18.0
Tried yarn install command before and after the fix.
yarn install
Summary
Build fails when node v18 is used.
Problem
Getting following error trying to do yarn install:
The files
.nvmrc
andpackage.json
are recommending old versions of node.Solution
Update
.nvmrc
andpackage.json
files to usev18.18.0
.How did you test this change?
Tried
yarn install
command before and after the fix.