Skip to content

Commit

Permalink
chore: Troubleshooting missing environment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
janjakubnanista committed Feb 5, 2024
1 parent a5b5053 commit e50647d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -349,3 +349,12 @@ If running into issues with failing deployment transactions when running the tes
```bash
pnpm clean
```

### Problems with missing environment variables

If running into issues with missing environment variables when running any of the commands that rely on `turbo` (e.g. `build` or `test`), make sure that these are either:

- Specified as environment variables that have an effect on build output - [env](https://turbo.build/repo/docs/reference/configuration#env) in `turbo.json`
- Specified as _global_ environment variables that have an effect on build output - [globalEnv](https://turbo.build/repo/docs/reference/configuration#globalenv)
- Specified as environment variables that don't have an effect on build output - [passThroughEnv](https://turbo.build/repo/docs/reference/configuration#passthroughenv)
- Specified as _global_ environment variables that don't have an effect on build output - [globalPassThroughEnv](https://turbo.build/repo/docs/reference/configuration#globalpassthroughenv)

0 comments on commit e50647d

Please sign in to comment.