Recently, in my git bash no longer working yarn, giving me the error bash: yarn: command not found
, as if it was never installed.
But as you can see in the attached photo, it is present.
I also tried to reinstall the package but still nothing...
This problem coincides with the installation of IDEA and I think the problem may come from here, however I have not found anything useful on the internet.
CodePudding user response:
As mentioned here:
check your path (
echo $PATH
in your bash session).
Said path should reference/C/Users/username/AppData/Roaming/npm/node_modules/yarn/bin
if not, install yarn through
npm install --global yarn
(global installation)