I can install yarn but cannot use it cause it tells me command not found. #1664
-
yarn installs normally with no trouble
gives me the error
I am using the git bash terminal in VScode anybody knows how to fix the problem |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
Restart and check if it fixes the problem. If not, go through this discussion -- has various solutions -- here: Link to Discussion |
Beta Was this translation helpful? Give feedback.
-
I have this issue quite frequently and you need to change your source to the file it was downloaded into, when i installed my packages i installed them into my .profile file on my mac, so i simply run source ~/.profile and it takes me into there where i then run the installation. Might be very specific to me but hopefully it helped |
Beta Was this translation helpful? Give feedback.
-
@pjamy try to run |
Beta Was this translation helpful? Give feedback.
-
Try this corepack --version
corepack enable and then try yarn --version |
Beta Was this translation helpful? Give feedback.
@pjamy try to run
npm install --global yarn