-2

trying to install yarn for my chainlink node. This is the error I'm getting. Any thoughts?

node -e "if(process.env.npm_execpath.indexOf('yarn') === -1) throw new Error('Please use yarn to install dependencies\n\n')"
jonrsharpe
  • 115,751
  • 26
  • 228
  • 437
Clint Oka
  • 53
  • 8
  • Can you please add more details? Like what command you ran to get this, how you got here, etc. – Patrick Collins Dec 03 '21 at 15:18
  • I am also having this exact problem. I set up my hardhat project and run npm install --save @chainlink/contracts, but it always fails with that message. Would really appreciate some help here. – dhsdshdhk Dec 28 '21 at 04:16

1 Answers1

0

Did you try

yarn install

in the main node's folder?

Solange Gueiros
  • 313
  • 1
  • 10
  • no didn't work says error Command failed with exit code 137. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. – Clint Oka Dec 02 '21 at 02:56