Yarn global command not working

后端 未结 9 1934
孤独总比滥情好
孤独总比滥情好 2020-12-12 13:07

I\'m working with Yarn v0.16.1. If I understand correctly (according to the documentation), yarn global add should be the equivalent of np

9条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-12 13:46

    On Ubuntu, I fixed by installing the package like this:

    sudo yarn global add  --prefix /usr/local
    

提交回复
热议问题