ens-contracts
ens-contracts copied to clipboard
Need to update node version in .nvmrc
ISSUE
The node version in .nvmrc
does not work on Mac OS. Error ( package [email protected] requires node >= 14.16.0) is thrown while trying to install packages with yarn
.
SOLUTION
I would suggest updating the node version in .nvmrc
to v16.15.1.
Full cli trace:
ens-contracts ➤ yarn install
yarn install v1.22.19
warning ../../../../../package.json: No license field
[1/4] 🔍 Resolving packages...
warning Resolution field "[email protected]" is incompatible with requested version "js-sha3@^0.5.7"
warning Resolution field "[email protected]" is incompatible with requested version "js-sha3@^0.5.7"
warning Resolution field "[email protected]" is incompatible with requested version "[email protected]"
warning Resolution field "[email protected]" is incompatible with requested version "[email protected]"
warning Resolution field "[email protected]" is incompatible with requested version "js-sha3@^0.5.7"
warning Resolution field "[email protected]" is incompatible with requested version "js-sha3@^0.5.7"
[2/4] 🚚 Fetching packages...
error [email protected]: The engine "node" is incompatible with this module. Expected version ">=14.16". Got "14.15.0"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
ISSUE The node version in
.nvmrc
does not work on Mac OS. Error ( package [email protected] requires node >= 14.16.0) is thrown while trying to install packages withyarn
. SOLUTION I would suggest updating the node version in.nvmrc
to v16.15.1.Full cli trace:
ens-contracts ➤ yarn install yarn install v1.22.19 warning ../../../../../package.json: No license field [1/4] 🔍 Resolving packages... warning Resolution field "[email protected]" is incompatible with requested version "js-sha3@^0.5.7" warning Resolution field "[email protected]" is incompatible with requested version "js-sha3@^0.5.7" warning Resolution field "[email protected]" is incompatible with requested version "[email protected]" warning Resolution field "[email protected]" is incompatible with requested version "[email protected]" warning Resolution field "[email protected]" is incompatible with requested version "js-sha3@^0.5.7" warning Resolution field "[email protected]" is incompatible with requested version "js-sha3@^0.5.7" [2/4] 🚚 Fetching packages... error [email protected]: The engine "node" is incompatible with this module. Expected version ">=14.16". Got "14.15.0" error Found incompatible module. info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.