graphql-engine/server/troubleshooting.md
Abby Sassel 2518d16191 Create troubleshooting.md
Documenting a workaround discussed at https://hasurahq.slack.com/archives/C03263T1L9W/p1653561662369129 in a new Troubleshooting doc

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4575
GitOrigin-RevId: eb80662b93f157d363cd0b53993fc5bb5972b546
2022-05-30 09:18:44 +00:00

497 B

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