{"action":"created","issue":{"url":"https://api.github.com/repos/alanz/vscode-hie-server/issues/68","repository_url":"https://api.github.com/repos/alanz/vscode-hie-server","labels_url":"https://api.github.com/repos/alanz/vscode-hie-server/issues/68/labels{/name}","comments_url":"https://api.github.com/repos/alanz/vscode-hie-server/issues/68/comments","events_url":"https://api.github.com/repos/alanz/vscode-hie-server/issues/68/events","html_url":"https://github.com/alanz/vscode-hie-server/issues/68","id":314325257,"number":68,"title":"Cannot read property 'document' of undefined","user":{"login":"MuratOzsoyler","id":12798143,"avatar_url":"https://avatars3.githubusercontent.com/u/12798143?v=4","gravatar_id":"","url":"https://api.github.com/users/MuratOzsoyler","html_url":"https://github.com/MuratOzsoyler","followers_url":"https://api.github.com/users/MuratOzsoyler/followers","following_url":"https://api.github.com/users/MuratOzsoyler/following{/other_user}","gists_url":"https://api.github.com/users/MuratOzsoyler/gists{/gist_id}","starred_url":"https://api.github.com/users/MuratOzsoyler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MuratOzsoyler/subscriptions","organizations_url":"https://api.github.com/users/MuratOzsoyler/orgs","repos_url":"https://api.github.com/users/MuratOzsoyler/repos","events_url":"https://api.github.com/users/MuratOzsoyler/events{/privacy}","received_events_url":"https://api.github.com/users/MuratOzsoyler/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-04-14T12:29:46Z","updated_at":"2018-04-17T18:39:51Z","closed_at":null,"author_association":"NONE","body":"Windows 10\r\nVCode 1.22.2\r\nHaskell Language Server 0.0.15\r\nHaskell Syntax Highlighting 2.4.0\r\n\r\nStack (version 1.6.5) project, resolver: nightly-2018-04-09.\r\n\r\nWhen opened with no editor tabs, in Developer Tools console:\r\n```\r\n/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:260 [Extension Host] No editors associated with document: c:\\Users\\zmtemp\\Desktop\\haskell\\gtk\\haskell-gi\\examples\\advanced\\Cairo.hs\r\n\r\n[Extension Host] TypeError: Cannot read property 'document' of undefined\r\n\tat Object.registerCommand (C:\\Users\\zmtemp\\.vscode\\extensions\\alanz.vscode-hie-server-0.0.15\\out\\src\\commands\\showType.js:78:58)\r\n\tat activateHieNoCheck (C:\\Users\\zmtemp\\.vscode\\extensions\\alanz.vscode-hie-server-0.0.15\\out\\src\\extension.js:185:36)\r\n\tat C:\\Users\\zmtemp\\.vscode\\extensions\\alanz.vscode-hie-server-0.0.15\\out\\src\\extension.js:75:17\r\n\tat Generator.next (<anonymous>)\r\n\tat fulfilled (C:\\Users\\zmtemp\\.vscode\\extensions\\alanz.vscode-hie-server-0.0.15\\out\\src\\extension.js:4:58)\r\n\tat <anonymous>\r\nt.log @ /C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:260\r\n```\r\n\r\nAfter a Haskell source opened this message appears:\r\n```\r\n[Extension Host] Error: command 'hie.commands.insertType' already exists\r\n\tat e.registerCommand (c:\\Program Files\\Microsoft VS Code\\resources\\app\\out\\vs\\workbench\\node\\extensionHostProcess.js:594:33)\r\n\tat Object.registerTextEditorCommand (c:\\Program Files\\Microsoft VS Code\\resources\\app\\out\\vs\\workbench\\node\\extensionHostProcess.js:656:876)\r\n\tat Object.registerCommand (C:\\Users\\zmtemp\\.vscode\\extensions\\alanz.vscode-hie-server-0.0.15\\out\\src\\commands\\insertType.js:9:39)\r\n\tat activateHieNoCheck (C:\\Users\\zmtemp\\.vscode\\extensions\\alanz.vscode-hie-server-0.0.15\\out\\src\\extension.js:184:60)\r\n\tat C:\\Users\\zmtemp\\.vscode\\extensions\\alanz.vscode-hie-server-0.0.15\\out\\src\\extension.js:75:17\r\n\tat Generator.next (<anonymous>)\r\n\tat fulfilled (C:\\Users\\zmtemp\\.vscode\\extensions\\alanz.vscode-hie-server-0.0.15\\out\\src\\extension.js:4:58)\r\n\tat <anonymous>\r\nt.log @ console.ts:136\r\nt._logExtensionHostMessage @ extensionHost.ts:395\r\n(anonymous) @ extensionHost.ts:210\r\nemitTwo @ events.js:106\r\nemit @ events.js:194\r\nprocess.nextTick @ internal/child_process.js:766\r\n_combinedTickCallback @ internal/process/next_tick.js:73\r\n_tickCallback @ internal/process/next_tick.js:104\r\n```\r\n\r\nNo lint, no suggestions, no intellisense.\r\n\r\nI feel this may be due to the version of GHC (8.4.1). If so, can we solve this problem?\r\n"},"comment":{"url":"https://api.github.com/repos/alanz/vscode-hie-server/issues/comments/382098477","html_url":"https://github.com/alanz/vscode-hie-server/issues/68#issuecomment-382098477","issue_url":"https://api.github.com/repos/alanz/vscode-hie-server/issues/68","id":382098477,"user":{"login":"Tehnix","id":1189998,"avatar_url":"https://avatars0.githubusercontent.com/u/1189998?v=4","gravatar_id":"","url":"https://api.github.com/users/Tehnix","html_url":"https://github.com/Tehnix","followers_url":"https://api.github.com/users/Tehnix/followers","following_url":"https://api.github.com/users/Tehnix/following{/other_user}","gists_url":"https://api.github.com/users/Tehnix/gists{/gist_id}","starred_url":"https://api.github.com/users/Tehnix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tehnix/subscriptions","organizations_url":"https://api.github.com/users/Tehnix/orgs","repos_url":"https://api.github.com/users/Tehnix/repos","events_url":"https://api.github.com/users/Tehnix/events{/privacy}","received_events_url":"https://api.github.com/users/Tehnix/received_events","type":"User","site_admin":false},"created_at":"2018-04-17T18:39:51Z","updated_at":"2018-04-17T18:39:51Z","author_association":"COLLABORATOR","body":"Do you get any output in the output tab when selecting `Haskell HIE (...)`?"}}
{"actor":{"display_login":"Tehnix"}}