rikvdkleij / intellij-haskell

IntelliJ plugin for Haskell
https://rikvdkleij.github.io/intellij-haskell/
Apache License 2.0
1.31k stars 96 forks source link

[global-stack-repl] Stack REPL couldn't be started within 30 seconds #647

Closed dervism closed 3 years ago

dervism commented 3 years ago

Hi

I have seen this issue mentioned and looked into since 2019, but since there is no other properly working editor for Haskell available, I really want to get this plugin working.

I downloaded and installed the plugin and created a new Haskell project from IntelliJ. While the plugin is downloading the tools to its cache folder, and also after when everything is complete, I am continuously getting error message saying "[global-stack-repl] Stack REPL couldn't be started within 30 seconds" and then I am getting warning message saying "REPL couldn't be started for target HaskellBook:exe:HaskellBook-exe due to: cannot satisfy -package HaskellBook-0.1.0.0".

The project builds and runs without a problem. However, I have no documentation when hovering over the code and the warnings and errors keeps popping up in my editor. For some reason that I cannot understand, it does work sometimes only to stop working again shortly after.

Any ideas why this happens?

rikvdkleij commented 3 years ago

To get more information about what’s going on, you can enable the Haskell Event log. See README.

AustinZhu commented 3 years ago

I have the same issue.