graphql-engine/server/troubleshooting.md

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
497 B
Markdown
Raw Normal View History

### `cabal: Could not resolve dependencies:`
a.k.a "how do I get Cabal to update the freeze file with the dependencies it needs, and why doesn't `cabal update` work?"
- issue: `cabal freeze` also freezes the `index-state` at the bottom of the file so, in some cases, `cabal update` has no effect
- fix:
- delete the line starting with `index-state` at the bottom of the `cabal.project.freeze` file
- delete lines for any dependencies you want to update
- run `cabal update`/`cabal freeze`