yalc icon indicating copy to clipboard operation
yalc copied to clipboard

command not found: yalc

Open crjacinro opened this issue 3 years ago • 10 comments

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

crjacinro avatar Jan 04 '22 03:01 crjacinro

Try on another machine to check if it can work at all. -)

wclr avatar Jan 04 '22 15:01 wclr

Same issue +1

shubhanus avatar Jan 10 '22 12:01 shubhanus

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.

waxidiotic avatar Feb 08 '22 20:02 waxidiotic

I had this issue and it resolved when I uninstalled nvm (node version manager)

David-Cohen35 avatar Mar 30 '22 15:03 David-Cohen35

Thanks @waxidiotic . I've used your solution and it solves my problem.

thiagoolsilva avatar Dec 15 '22 01:12 thiagoolsilva

sudo yarn global add yalc

It works for me

frylstar avatar Feb 21 '23 06:02 frylstar

I am using npm, how should I deal with this problem?

fuzzy-lee avatar Dec 25 '23 12:12 fuzzy-lee