Skip to content

Commit

Permalink
Docs: Add note about yarn2 linking
Browse files Browse the repository at this point in the history
  • Loading branch information
shilman committed Jun 1, 2021
1 parent 94a8d77 commit 57043ef
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/contribute/code.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,10 @@ If you already have a reproduction on your local machine, you can similarly link
npx sb@next link --local /path/to/local-repro-directory
```

<div class="aside">
💡 The `sb link` command relies on `yarn 2` linking under the hood. It requires that the local repro is using `yarn 2`, which will be the case if you're using the [`sb repro` command](./how-to-reproduce) per our contributing guidelines. If you are trying to link to a non-`yarn 2` project, linking will fail.
</div>

## Troubleshooting

<details>
Expand Down

0 comments on commit 57043ef

Please sign in to comment.