Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add new FAQ about yarn version #6796

Merged
merged 11 commits into from
Jun 5, 2024
15 changes: 15 additions & 0 deletions docs/pages/faqs.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,21 @@

This section of the documentation will cover common questions and encounters often asked by users and developers.

## Tooling

:::note "Incorrect yarn version"

Lodestar is using [yarn classic](https://classic.yarnpkg.com/lang/en/). Using more recent versions will lead to issues (e.g. spurious insertion of `packageManager` field in `package.json`).
jeluard marked this conversation as resolved.
Show resolved Hide resolved

To set yarn to the right version globally, use the following command:

```bash
# Get latest classic version from https://classic.yarnpkg.com/lang/en/
yarn policies set-version $LATEST_CLASSIC_VERSION
```

:::

## Troubleshooting Lodestar

### Running a beacon node
Expand Down
Loading