Skip to content

Commit ac54eaa

Browse files
add note about global stack project
1 parent 3c70c34 commit ac54eaa

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

_chapters/haskell0.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,17 @@ These may take a while to install, so if you’re installing Haskell during your
176176
- Install with `stack install hlint`
177177
- Ensure the ‘Haskell › Plugin › Hlint: Diagnostics On’ (`haskell.plugin.hlint.diagnosticsOn`) setting in VS Code is enabled, which should be the default
178178

179+
If you get an error relating to mismatched versions, try running the `stack install` commands inside the folder where `stack.yaml` is located. Alternatively, edit the file
180+
181+
- Windows: `%AppData%\stack\global-project\stack.yaml`
182+
- Non-Windows: `~/.stack/global-project/stack.yaml`
183+
184+
and change the `resolver` to
185+
186+
```yml
187+
resolver: lts-23.25
188+
```
189+
179190
## Troubleshooting
180191
181192
### Windows Issues

0 commit comments

Comments
 (0)