Open GianClaudioScarafini opened 5 months ago
SOLUTION this might be the solution: npm install yarn --location=global
Hm (looping in @Eschults here). I checked the yarn docs and they actually fully recommend against installing globally now.
Instead, it now comes as part of Corepack. So, they say to run:
corepack enable
With all node
versions >14, this should come by default. But if you get any errors, you can run npm install -g corepack
to install it.
So, do we feel OK if I update setup to recommend this? I'm a bit scared to do so, since it's hard for me to test, since I don't have a blank system to try running it on from scratch. I guess if we want I could spin out a Digital Ocean droplet and try running our Ubuntu setup on it with this command and see if it works?
👋 @ajdubovoy, OK to update the setup w/ the latest Yarn recommendations, for this kind of short tests on different systems I would suggest involving senior teachers of our community and kindly ask them if they can run the commands, Engineering has very low bandwidth and cannot provide you w/ this kind of support at the minute 🙏
Ok sounds good!
ISSUE within the readme file, you have instructed to use :
npm install --global yarn
this returns a WARN :
npm WARN config global
--global,
--localare deprecated.