Skip to content

Extention startup error #181

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
grosto opened this issue Dec 23, 2019 · 2 comments
Closed

Extention startup error #181

grosto opened this issue Dec 23, 2019 · 2 comments

Comments

@grosto
Copy link

grosto commented Dec 23, 2019

I am trying to run extension on MacOS, ghc version 8.6.5. I have another Macbook on which extension runs without a problem. Same operator system version and same ghc version.

This is the log from vscode output. I am not even sure this is causing the error, but there is permanent "loading" when I hover any declaration.

2019-12-23 11:29:46.411207 [ThreadId 4] - Run entered for HIE(hie) Version 1.0.0.0, Git revision 7e688322a40d91369bd032ea4be977fa405dc41f (3496 commits) x86_64 ghc-8.6.5
2019-12-23 11:29:46.412592 [ThreadId 4] - Current directory:/Users/rostog/learning/test-project
2019-12-23 11:29:46.412632 [ThreadId 4] - args:[]
hie: ghc: readCreateProcess: runInteractiveProcess: exec: does not exist (No such file or directory)
2019-12-23 11:29:46.479764 [ThreadId 10] - Cabal-Helper dirs: ["/Users/rostog/learning/test-project","/Users/rostog/learning/test-project/File.hs"]
Using hie version: Version 1.0.0.0, Git revision 7e688322a40d91369bd032ea4be977fa405dc41f (3496 commits) x86_64 ghc-8.6.5
2019-12-23 11:29:48.084103 [ThreadId 10] - Using stack GHC version

image

@alanz
Copy link
Collaborator

alanz commented Dec 23, 2019

The 4th line of the log is complaining that hie cannot run ghc. Make sure it is installed on your machine and on the path.

@grosto
Copy link
Author

grosto commented Dec 23, 2019

Thanks, it worked. My expectation was that it would work because I have stack ghc installed.

@grosto grosto closed this as completed Dec 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants