tidalcycles/tidal-midi

PortMidi dependency issue when installing with stack

jarmitage opened this issue · 0 comments

stack install tidal-midi sometimes throws

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

In the dependencies for tidal-midi-0.9.4:
    PortMidi must match ==0.1.6.0, but the stack configuration has no specified version (latest applicable is 0.1.6.0)
needed for unknown reason - stack invariant violated.

Recommended action: try adding the following to your extra-deps in /Users/kevincebulski/.stack/global-project/stack.yaml:
- PortMidi-0.1.6.0

You may also want to try the 'stack solver' command
Plan construction failed.

Doing brew install PortMidi or brew install PortMidi-0.1.6.0 doesn't help. Workaround is to type PortMidi-0.1.6.0 into the extra-deps field in .stack/global-projects/stack.yaml, and run stack install tidal-midi again.