ich diesen Fehler erhalten, wenn stack install hsdev
außerhalb und innerhalb eines Projekts ausgeführt wird:Failure installieren hsev auf Windows 10 über `Stapel installieren hsdev`
λ stack install hsdev
Run from outside a project, using implicit global project config
Using resolver: lts-5.11 from implicit global project's config file: C:\Users\atc\AppData\Roaming\stack\global-project\stack.yaml
While constructing the BuildPlan the following exceptions were encountered:
-- While attempting to add dependency,
Could not find package hformat in known packages
-- Failure when adding dependencies:
hformat: needed (>=0.1), stack configuration has no specified version (latest applicable is 0.1.0.0)
simple-log: needed (>=0.3.4), stack configuration has no specified version (latest applicable is 0.3.4)
text-region: needed (>=0.1), stack configuration has no specified version (latest applicable is 0.1.0.0)
needed for package hsdev-0.1.8.2
-- While attempting to add dependency,
Could not find package simple-log in known packages
-- While attempting to add dependency,
Could not find package text-region in known packages
Recommended action: try adding the following to your extra-deps in C:\Users\atc\AppData\Roaming\stack\global-project\stack.yaml
- hformat-0.1.0.0
- simple-log-0.3.4
- text-region-0.1.0.0
Ich habe stack update
vor dem Versuch diese auszuführen. Ich möchte hsdev
installieren, damit ich SublimeHaskell verwenden kann.
stack solver
gibt:
λ stack solver
Run from outside a project, using implicit global project config
Using resolver: lts-5.11 from implicit global project's config file: C:\Users\atc\AppData\Roaming\stack\global-project\stack.yaml
Using configuration file: AppData\Roaming\stack\global-project\stack.yaml
The following packages are missing from the config:
<snip long list of references to directories in AppData\Local\Temp\stack14228\>
No cabal packages found in AppData\Roaming\stack\global-project\stack.yaml. Please add at least one directory containing a .cabal file. You can also use 'stack init' to automatically generate the config file.
Relevante Stapel Info:
λ stack --version
Version 1.0.4, Git revision cf18703b1392a96a5a4896a560309e501af63260 (3220 commits) x86_6
haben Sie die ** empfohlene Aktion ** ausprobiert? (editieren Sie einfach die Datei und fügen Sie diese hinzu - dann wiederholen) – Carsten
Frage aktualisiert mit 'stack solver' Ausgabe –
siehe [hier] (http://docs.haskellstack.org/en/stable/GUIDE/#Adding-dependencies) bitte (Suchen Sie nach dem 'acme-misle'-Beispiel - Ihr Problem scheint genau das zu sein - haben Sie auch die' extra-deps' für Ihr Update hinzugefügt oder nicht? – Carsten