-
When I run the terminal command to install yarn, yarn installs!
However when I check to see the version of yarn, I get the following error message...
I've been trying to troubleshoot this but can't figure it out. I did find that my home directory, on my Mac book, has a node_modules folder & I see yarn was installed there. But I also found another node_modules folder in /usr/local/lib/node_modules. In this folder, which I believe is the one that is being used by my programs, yarn was not installed. I dropped the yarn folder from my home directory into this folder but that still didn't fix my issue. What am I doing wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Hello @MED-1996 this is because you need to add npm packages to your path, otherwise the terminal would no recognize packages like yarn, take this thread as point of reference. |
Beta Was this translation helpful? Give feedback.
Hello @MED-1996 this is because you need to add npm packages to your path, otherwise the terminal would no recognize packages like yarn, take this thread as point of reference.