'Can't run Yarn install because of NodeJS
I all,
I'm deploying a Symfony project this project is host on a Debian 10 server. On this project I use Yarn. Yarn is installed and Node Js too.
yarn -v
1.22.18
node -v
v16.14.2
I've installed yarn by following the doc. And for node JS, I've used nvm to install my node JS.
When I want to install my yarn dependancies, the following error appear :
Yarn requires Node.js 4.0 or higher to be installed.
I don't understand why this happen. Why a node version is detected Yarn can't see it. Did I forget a global variable to set for Node?
Thank you
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
