Skip to content
This repository has been archived by the owner on Apr 29, 2024. It is now read-only.

Can't install on a new Yesod scaffold (postgres) #1

Open
amitaibu opened this issue Aug 30, 2018 · 2 comments
Open

Can't install on a new Yesod scaffold (postgres) #1

amitaibu opened this issue Aug 30, 2018 · 2 comments

Comments

@amitaibu
Copy link

Error: While constructing the build plan, the following exceptions were encountered:

In the dependencies for yesod-lucid-0.1:
    yesod-core-1.6.6 from stack configuration does not match (>=1.1.5 && <1.5)  (latest matching
                     version is 1.4.37.3)
needed due to circuit-yesod-0.0.0 -> yesod-lucid-0.1

Some different approaches to resolving this:

  * Set 'allow-newer: true' to ignore all version constraints and build anyway.

  * Consider trying 'stack solver', which uses the cabal-install solver to attempt to find some
    working build configuration. This can be convenient when dealing with many complicated
    constraint errors, but results may be unpredictable.

  * Recommended action: try adding the following to your extra-deps
    in /Users/itama/Sites/circuit-yesod/stack.yaml:

- yesod-core-1.4.37.3

Adding - yesod-core-1.4.37.3 resulted with being asked for more versions, but it couldn't build.
and also stack solver didn't work

@amitaibu
Copy link
Author

Seems that the latest commit has removed the PVP de8b455 , however for some reason stack still references the PVP

yesod-core-1.6.6 from stack configuration does not match (>=1.1.5 && <1.5)  (latest matching
                     version is 1.4.37.3)

@amitaibu
Copy link
Author

amitaibu commented Nov 25, 2018

Until I/ someone else figures it out, here's how I've included it, using the specific commit:

# stack.yaml

extra-deps:
- github: chrisdone/yesod-lucid
  commit: de8b455a6efcc02b95d5f6363a29044e230dc75f

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant