yarn_link
- 可在
~/.config/yarn/link
查看所有 link 的 package - yarn global bin 查看 yarn 全局 bin 安装位置
- yarn global dir 查看 yarn 全局安装路径
QA
在
xxx
pakcage 中,yarn link 时 warning 提示There's already a package called "x x x" registered. This command has had no effect. If this command was run in another folder with the same name, the other folder is still linked. Please run yarn unlink in the other folder if you want to register this folder.
rm ~/.config/yarn/link/xxx