You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: While constructing the build plan, the following exceptions were encountered:
In the dependencies for stack-run-0.1.1.4: conduit-1.3.1 from stack configuration does not match >1.1 && <1.3 (latest matching version is 1.2.13.1) conduit-extra-1.3.0 from stack configuration does not match >=1.1 && <1.2 (latest matching version is 1.1.17) needed since stack-run is a build target.
Some different approaches to resolving this:
* Set 'allow-newer: true' in C:\sr\config.yaml 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 C:\sr\global-project\stack.yaml:
I mean it installs but it errors at the end with:
src\Main.hs:18:1: error:
Could not find module `Distribution.PackageDescription.Parse'
Perhaps you meant
Distribution.PackageDescription.Parsec (needs flag -package-key Cabal-2.4.0.1)
Distribution.PackageDescription.Parsec (from Cabal-2.4.1.0)
Distribution.PackageDescription.Check (needs flag -package-key Cabal-2.4.0.1)
Use -v to see a list of the files searched for.
C:\Users\%USER%>stack install stack-run
Error: While constructing the build plan, the following exceptions were encountered:
In the dependencies for stack-run-0.1.1.4:
conduit-1.3.1 from stack configuration does not match >1.1 && <1.3 (latest matching version is 1.2.13.1)
conduit-extra-1.3.0 from stack configuration does not match >=1.1 && <1.2 (latest matching version is 1.1.17)
needed since stack-run is a build target.
Some different approaches to resolving this:
* Set 'allow-newer: true' in C:\sr\config.yaml 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 C:\sr\global-project\stack.yaml:
conduit-1.2.13.1@sha256:afd4db7fe66ae7af3d418e1a932384a8dee08df2f6299cca80e53ba964ce1228
conduit-extra-1.1.17@sha256:c178b987980232659c789798fdbc3fd81dfc1229c95d00e0041910482d66a6a8
Plan construction failed.
So something here is wrong. I used the windows 10 installer to get stack and then upgraded it. Is there a way to solve this?
The text was updated successfully, but these errors were encountered: