Open crjacinro opened 2 years ago
Try on another machine to check if it can work at all. -)
Same issue +1
The same thing was happening for me even though yalc
was included when I ran yarn global list
. Turns out I needed to add export PATH="$(yarn global bin):$PATH"
to my .zshrc
. I don't remember having to do this before but it worked.
I had this issue and it resolved when I uninstalled nvm (node version manager)
Thanks @waxidiotic . I've used your solution and it solves my problem.
sudo yarn global add yalc
It works for me
I am using npm, how should I deal with this problem?
I have tried to add yalc using npm and yarn globally.
yarn global add yalc
npm i yalc -g
but the result is this:
command not found: yalc
I have tried restarting the machine and clearing node_modules.
OS: Mac OS 11.6.2 (Intel) Node: v16.13.0