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.

SDK creation fails if path ends in /stack

See original GitHub issue

When first setting this up, I tried to set /home/chris/.nix-profile/bin/stack as the path to Stack when creating the SDK, since that’s my path to Stack. The first several times it failed silently; the dialog closed and no SDK was added. After a restart of IntelliJ, it started giving an error popup “The selected directory is not a valid home for Stack binary”.

It took me a while to figure out that it’s actually asking for the path of a directory that contains a stack executable, not the path of a stack executable. It probably ought to either be able to strip the /stack from the end on it or have better failure behavior.

intellij community 2016.2.4

intellij-haskell 1.0.0-beta

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:9 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
chris-martincommented, Jan 4, 2017

Just tried it in beta 5, makes a lot more sense to me now. Thanks!

0reactions
rikvdkleijcommented, Dec 27, 2016

Fixed in beta 4.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Stack failure options - AWS CloudFormation
Failed resources will be in an UPDATE_FAILED state. Resources without a last known stable state will be deleted upon the next stack operation....
Read more >
SDK Location not found in android studio - Stack Overflow
In Android Studio, I just clicked on File and then Choose Project Structure or Ctrl-Alt-Shift+S. This'll clearly show you the Android SDK ......
Read more >
Error Messages | Maps JavaScript API - Google Developers
Requests made using the Maps JavaScript API will be under the path maps/api/js . Here you can confirm if the requests are using...
Read more >
Resolve issues and errors during an AKS hybrid installation
Applies to: AKS on Azure Stack HCI, AKS on Windows Server This article describes known issues and errors you may encounter when installing...
Read more >
Best practices for REST API design - Stack Overflow Blog
Best practices for REST API design · Accept and respond with JSON · Use nouns instead of verbs in endpoint paths · Name...
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