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
Run from outside a project, using implicit global project config
Using resolver: lts-7.0 specified on command line
While constructing the build plan, the following exceptions were encountered:
In the dependencies for codex-0.5.0.1:
machines-directory must match >=0.0.0.2 && <0.3, but the stack configuration has no specified version
(latest applicable is 0.2.0.9)
Recommended action: try adding the following to your extra-deps in /home/parallels/.stack/global-project/stack.yaml:
- machines-directory-0.2.0.9
You may also want to try the 'stack solver' command
Plan construction failed.
Following the recommended action I add to the extra-deps in stack.yaml. After running stack --resolver lts-7.0 install codex again I get failure with recommendation to add machines-io-0.2.0.13.
The file .stack/global-project/stack.yaml then reads:
In the global stack project it's not possible to create a dependency graph with stack dot, it seems.
This may well be a problem created by codex. In any case it would be good if stack offered some insights into what's going on here. Right now I'm completely clueless.
Steps to reproduce
Starting with a clean Ubuntu VM:
stack --resolver lts-7.0 setup
stack --resolver lts-7.0 install codex
Result:
Following the recommended action I add to the extra-deps in
stack.yaml
. After runningstack --resolver lts-7.0 install codex
again I get failure with recommendation to addmachines-io-0.2.0.13
.The file
.stack/global-project/stack.yaml
then reads:Running
stack --resolver lts-7.0 install codex
again results in an error:Doing the same with
lts-6.12
works fine. Apparently there is a circular dependency somewhere.Stack version
Method of installation
wget -qO- https://get.haskellstack.org/ | sh
The text was updated successfully, but these errors were encountered: