{"action":"created","issue":{"url":"https://api.github.com/repos/atom-haskell/ide-haskell-repl/issues/5","labels_url":"https://api.github.com/repos/atom-haskell/ide-haskell-repl/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/atom-haskell/ide-haskell-repl/issues/5/comments","events_url":"https://api.github.com/repos/atom-haskell/ide-haskell-repl/issues/5/events","html_url":"https://github.com/atom-haskell/ide-haskell-repl/issues/5","id":118771450,"number":5,"title":"REPL not opening and then crashing","user":{"login":"totano","id":1991872,"avatar_url":"https://avatars.githubusercontent.com/u/1991872?v=3","gravatar_id":"","url":"https://api.github.com/users/totano","html_url":"https://github.com/totano","followers_url":"https://api.github.com/users/totano/followers","following_url":"https://api.github.com/users/totano/following{/other_user}","gists_url":"https://api.github.com/users/totano/gists{/gist_id}","starred_url":"https://api.github.com/users/totano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/totano/subscriptions","organizations_url":"https://api.github.com/users/totano/orgs","repos_url":"https://api.github.com/users/totano/repos","events_url":"https://api.github.com/users/totano/events{/privacy}","received_events_url":"https://api.github.com/users/totano/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-25T06:32:51Z","updated_at":"2015-12-07T20:18:30Z","closed_at":null,"body":"Atom Version: 1.2.2\r\nSystem: Microsoft Windows 10 Pro\r\npackage version: 0.0.4\r\n\r\nWhen clicking on Haskell IDE - Open REPL in the menu nothing happens, nothing is logged in the developer tools. After trying some more times the REPL window appears with text:\r\n\r\nGHCI crashed\r\nError: write EPIPEGHCI crashed\r\nError: spawn C:\\WINDOWS\\system32\\cmd.exe ENOENT\r\n\r\n    /<UserHome>.atom/packages/ide-haskell-repl/lib/ghci.coffee:43 Error: write EPIPE\r\n    at exports._errnoException (util.js:837:11)\r\n    at Socket._writeGeneric (net.js:675:26)\r\n    at Socket._write (net.js:694:8)\r\n    at doWrite (_stream_writable.js:292:12)\r\n    at writeOrBuffer (_stream_writable.js:278:5)\r\n    at Socket.Writable.write (_stream_writable.js:207:11)\r\n    at Socket.write (net.js:618:40)\r\n    at new GHCI (file:///<UserHome>.atom/packages/ide-haskell-repl/lib/ghci.coffee:79:19)\r\n    at new IdeHaskellReplView (file:///<UserHome>.atom/packages/ide-haskell-repl/lib/ide-haskell-repl-view.coffee:55:17)\r\n    at <UserHome>\\.atom\\packages\\ide-haskell-repl\\lib\\ide-haskell-repl.coffee:39:11\r\n    at Workspace.module.exports.Workspace.openURIInPane (<UserHome>\\AppData\\Local\\atom\\app-1.2.2\\resources\\app.asar\\src\\workspace.js:454:22)\r\n    at Workspace.module.exports.Workspace.open (<UserHome>\\AppData\\Local\\atom\\app-1.2.2\\resources\\app.asar\\src\\workspace.js:393:19)\r\n    at Object.module.exports.IdeHaskellRepl.open (<UserHome>\\.atom\\packages\\ide-haskell-repl\\lib\\ide-haskell-repl.coffee:56:20)\r\n    at atom-text-editor.disposables.add.atom.commands.add.ide-haskell-repl:toggle (<UserHome>\\.atom\\packages\\ide-haskell-repl\\lib\\ide-haskell-repl.coffee:43:10)\r\n    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (<UserHome>\\AppData\\Local\\atom\\app-1.2.2\\resources\\app.asar\\src\\command-registry.js:260:29)\r\n    at CommandRegistry.handleCommandEvent (<UserHome>\\AppData\\Local\\atom\\app-1.2.2\\resources\\app.asar\\src\\command-registry.js:3:61)\r\n    at CommandRegistry.module.exports.CommandRegistry.dispatch (<UserHome>\\AppData\\Local\\atom\\app-1.2.2\\resources\\app.asar\\src\\command-registry.js:160:19)\r\n    at AtomEnvironment.module.exports.AtomEnvironment.dispatchApplicationMenuCommand (<UserHome>\\AppData\\Local\\atom\\app-1.2.2\\resources\\app.asar\\src\\atom-environment.js:987:28)\r\n    at emitOne (events.js:77:13)\r\n    at EventEmitter.emit (events.js:169:7)(anonymous function) @ /<UserHome>.atom/packages/ide-haskell-repl/lib/ghci.coffee:43\r\n\r\n    /<UserHome>.atom/packages/ide-haskell-repl/lib/ghci.coffee:43 Error: spawn C:\\WINDOWS\\system32\\cmd.exe ENOENT\r\n    at exports._errnoException (util.js:837:11)\r\n    at Process.ChildProcess._handle.onexit (internal/child_process.js:178:32)\r\n    at onErrorNT (internal/child_process.js:344:16)\r\n    at doNTCallback2 (node.js:441:9)\r\n    at process._tickCallback (node.js:355:17)(anonymous function) @ /<UserHome>.atom/packages/ide-haskell-repl/lib/ghci.coffee:43"},"comment":{"url":"https://api.github.com/repos/atom-haskell/ide-haskell-repl/issues/comments/162647952","html_url":"https://github.com/atom-haskell/ide-haskell-repl/issues/5#issuecomment-162647952","issue_url":"https://api.github.com/repos/atom-haskell/ide-haskell-repl/issues/5","id":162647952,"user":{"login":"SecondReality","id":892178,"avatar_url":"https://avatars.githubusercontent.com/u/892178?v=3","gravatar_id":"","url":"https://api.github.com/users/SecondReality","html_url":"https://github.com/SecondReality","followers_url":"https://api.github.com/users/SecondReality/followers","following_url":"https://api.github.com/users/SecondReality/following{/other_user}","gists_url":"https://api.github.com/users/SecondReality/gists{/gist_id}","starred_url":"https://api.github.com/users/SecondReality/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SecondReality/subscriptions","organizations_url":"https://api.github.com/users/SecondReality/orgs","repos_url":"https://api.github.com/users/SecondReality/repos","events_url":"https://api.github.com/users/SecondReality/events{/privacy}","received_events_url":"https://api.github.com/users/SecondReality/received_events","type":"User","site_admin":false},"created_at":"2015-12-07T20:18:30Z","updated_at":"2015-12-07T20:18:30Z","body":"I've got the exact same error text a few times, even when opening from a Haskell file. I'm not sure what I did to fix it (quit and restarted ATOM a few times), but eventually the repl worked."}}