learninglocker icon indicating copy to clipboard operation
learninglocker copied to clipboard

Not able to install via 'yarn install'

Open DonavanMartin opened this issue 3 years ago • 1 comments

What version were you using?

npm -v : 8.3.0 node -v: v17.3.0 yarn -v: 1.22.17

What steps can we follow to reproduce the behaviour?

yarn install

What is the actual behaviour?

error @learninglocker/[email protected]: The engine "node" is incompatible with this module. Expected version "6 - 8". Got "17.3.0"

What is the expected behavior?

Installing with 'yarn install' works.

Is there any additional information that will help us replicate/understand the problem?

DonavanMartin avatar Jan 03 '22 23:01 DonavanMartin

We are currently targeting builds on Node 10.*

Try downgrading your node version to 10.* and install with npm_config_build_from_source=true yarn install --ignore-engines

Enter the directory and install the requirements:

npm_config_build_from_source=true yarn install --ignore-engines

More information in the learninglocker documentation: https://docs.learninglocker.net/guides-custom-installation/

LukasWalterAceArt avatar Jan 20 '22 08:01 LukasWalterAceArt