rikvdkleij / intellij-haskell

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

Create new Haskell Module - Error adding module to project: null #604

Closed fdreger closed 3 years ago

fdreger commented 3 years ago

I have Intellij 2020 and 1.0.0-beta78. Creating a new Haskell module (either in an existing project or in a new one) gives me the error from the topic. Error log says:

08:42   Timeout while creating new Stack project by using: `stack new`
08:42   Couldn't create Haskell module due to failure retrieving or parsing Cabal file for package path `/home/something/something`
08:42   Haskell SDK is not defined in Project Settings
08:42   Timeout while creating new Stack project by using: `stack new`
08:42   Couldn't create Haskell module due to failure retrieving or parsing Cabal file for package path `/home/something/something`
08:42   Haskell SDK is not defined in Project Settings

I have stack installed, and it is detected and selected during the project's creation.

rikvdkleij commented 3 years ago

Thanks for reporting!

Looks similar as #567

rikvdkleij commented 3 years ago

Should be fixed in beta79

rikvdkleij commented 3 years ago

Please reopen if still an issue.