Facing error while adding/downloading solc by doing yarn add solc but throws error about node version

10 views Asked by At

enter image description hereenter image description herewhile doing 'yarn add solc' throws error expected node version differ then the version i have

error

error [email protected]: The engine "node" is incompatible with this module. Expected version "0.8.x". Got "21.7.1" error Found incompatible module.

i try yarn add solc. it throws error that expected version is v0.8.x but i have the latest node version v21.7.1. now i don't know what to do. please help me.

0

There are 0 answers