diff --git a/contributing.md b/contributing.md index 1b21f220be..986ce198f6 100644 --- a/contributing.md +++ b/contributing.md @@ -164,7 +164,24 @@ There are two options to develop with your local version of the codebase: yarn install --force ``` -or +#### Troubleshooting + +- If you see the below error while running `yarn dev` with next: + +``` +Failed to load SWC binary, see more info here: https://nextjs.org/docs/messages/failed-loadin +``` + +Try to add the below section to your `package.json`, then run again + +```json +"optionalDependencies": { + "@next/swc-linux-x64-gnu": "canary", + "@next/swc-win32-x64-msvc": "canary", + "@next/swc-darwin-x64": "canary", + "@next/swc-darwin-arm64": "canary" +}, +``` ### Develop inside the monorepo