question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

See original GitHub issue

Related, but somewhat different from: https://github.com/rikvdkleij/intellij-haskell/issues/567

Plugin version: 1.0.0-beta78 Intellij version: 2020.2.1

  • stack not autodetected
  • setting path to user’s local installation /home/user/.local/bin/stack seems to detect the correct stack version
  • when proceeding to create new project gives error: ‘Error adding module to project: null’

In the event log:

12:52 a.m.	Cannot run program "/usr/bin/stack" (in directory "/home/kaminsod"): error=2, No such file or directory

12:52 a.m.	Executing `/usr/bin/stack --numeric-version` failed: /usr/bin/stack --numeric-version: 

So it seems to always fall back to /usr/bin/stack even when another path is selected.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:16 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
rikvdkleijcommented, Sep 22, 2020

Should be fixed in beta79.

1reaction
ndrsllwngrcommented, Sep 15, 2020

@rikvdkleij Thank you a lot; your extension besides this bug works great and supports us in many ways!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error adding module to project:null : IDEA-3307
Error adding module to project :null. I create a new project and add a module to project, when IDEA loads the new project,...
Read more >
multi-pom in intellijIDEA. Error adding module to project: null
In one Maven project, I right-click ->New -> Module -> Maven. select parent to "my project". However, even if parent is not specified,...
Read more >
Modules - Learn You a Haskell for Great Good!
In this chapter, we're going to examine a few useful modules and the functions that they have. But first, we're going to see...
Read more >
5.1. Using GHC — Glasgow Haskell Compiler 9.4.3 User's ...
In this mode, GHC will build a multi-module Haskell program automatically, figuring out dependencies for itself. If you have a straightforward Haskell ......
Read more >
3. Using GHCi — Glasgow Haskell Compiler 9.0.1 User's Guide
The set of modules in scope can be shown with :show imports . You can add a module to the scope (via :module...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found