{"action":"created","issue":{"url":"https://api.github.com/repos/atom-haskell/haskell-ghc-mod/issues/65","labels_url":"https://api.github.com/repos/atom-haskell/haskell-ghc-mod/issues/65/labels{/name}","comments_url":"https://api.github.com/repos/atom-haskell/haskell-ghc-mod/issues/65/comments","events_url":"https://api.github.com/repos/atom-haskell/haskell-ghc-mod/issues/65/events","html_url":"https://github.com/atom-haskell/haskell-ghc-mod/issues/65","id":117024603,"number":65,"title":"Error when working with stack projects","user":{"login":"welf","id":1454462,"avatar_url":"https://avatars.githubusercontent.com/u/1454462?v=3","gravatar_id":"","url":"https://api.github.com/users/welf","html_url":"https://github.com/welf","followers_url":"https://api.github.com/users/welf/followers","following_url":"https://api.github.com/users/welf/following{/other_user}","gists_url":"https://api.github.com/users/welf/gists{/gist_id}","starred_url":"https://api.github.com/users/welf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/welf/subscriptions","organizations_url":"https://api.github.com/users/welf/orgs","repos_url":"https://api.github.com/users/welf/repos","events_url":"https://api.github.com/users/welf/events{/privacy}","received_events_url":"https://api.github.com/users/welf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-11-15T22:45:56Z","updated_at":"2015-11-18T17:35:17Z","closed_at":null,"body":"Every time I open an *.hs file within stack generated project and save this file, I get such error: \r\n<img width=\"450\" alt=\"ghc-mod-error\" src=\"https://cloud.githubusercontent.com/assets/1454462/11171482/677c0330-8c02-11e5-8977-c60108786a3b.png\">\r\n\r\nThis error exists only when working with project files generated by command `stack new project` (and followed by `stack setup` and `stack build`). When I work with standalone *.hs file I don't get such error. \r\n\r\nOSX El Capitan 10.11.1\r\nAtom 1.2.0\r\nhaskell-ghc-mod 1.1.3\r\nide-haskell 1.3.5\r\nstack 0.1.6.0 x86_64\r\nghc-mod version 5.4.0.0 compiled by GHC 7.10.2\r\n\r\nHere is a log from developer console: \r\n[-1447626365072.txt](https://github.com/atom-haskell/haskell-ghc-mod/files/35052/-1447626365072.txt)\r\n"},"comment":{"url":"https://api.github.com/repos/atom-haskell/haskell-ghc-mod/issues/comments/157791014","html_url":"https://github.com/atom-haskell/haskell-ghc-mod/issues/65#issuecomment-157791014","issue_url":"https://api.github.com/repos/atom-haskell/haskell-ghc-mod/issues/65","id":157791014,"user":{"login":"welf","id":1454462,"avatar_url":"https://avatars.githubusercontent.com/u/1454462?v=3","gravatar_id":"","url":"https://api.github.com/users/welf","html_url":"https://github.com/welf","followers_url":"https://api.github.com/users/welf/followers","following_url":"https://api.github.com/users/welf/following{/other_user}","gists_url":"https://api.github.com/users/welf/gists{/gist_id}","starred_url":"https://api.github.com/users/welf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/welf/subscriptions","organizations_url":"https://api.github.com/users/welf/orgs","repos_url":"https://api.github.com/users/welf/repos","events_url":"https://api.github.com/users/welf/events{/privacy}","received_events_url":"https://api.github.com/users/welf/received_events","type":"User","site_admin":false},"created_at":"2015-11-18T17:35:17Z","updated_at":"2015-11-18T17:35:17Z","body":"Yes, I've installed `cabal-install` with `stack` too a few days ago. Don't know whether it works without it. "}}