Skip to content
This repository has been archived by the owner on Oct 5, 2022. It is now read-only.

Error parsing targets #12

Open
varosi opened this issue May 7, 2017 · 2 comments
Open

Error parsing targets #12

varosi opened this issue May 7, 2017 · 2 comments

Comments

@varosi
Copy link

varosi commented May 7, 2017

When I run the plug-in I get "GHCi Error: Error parsing targets: No local directories found as children of".

I'm using latest Atom + latest plug-in version. I'm trying to run Stack based project with explicitly selected main module on Windows 10.

@lkonstantinov
Copy link

lkonstantinov commented May 16, 2017

I was hit by this yesterday on a fresh Stack project. Stack needs to be run in the working folder of the project, so it can load the module dependencies into the repl session, otherwise loading the file fails.

Attached is a patch against head that fixes this particular issue for me - there is some more stuff that looks suspicious.

patch.zip

@ThomasHickman
Copy link
Member

@lkonstantinov, thanks :), I've applied the patch and published a patch version to apm. I'll have a look at this sometime when I've got free time (I'm quite busy at the moment, so I can't work on this).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants