{"action":"opened","issue":{"url":"https://api.github.com/repos/mybuddymichael/linter-elm-make/issues/59","repository_url":"https://api.github.com/repos/mybuddymichael/linter-elm-make","labels_url":"https://api.github.com/repos/mybuddymichael/linter-elm-make/issues/59/labels{/name}","comments_url":"https://api.github.com/repos/mybuddymichael/linter-elm-make/issues/59/comments","events_url":"https://api.github.com/repos/mybuddymichael/linter-elm-make/issues/59/events","html_url":"https://github.com/mybuddymichael/linter-elm-make/issues/59","id":166846563,"number":59,"title":"Uncaught TypeError: Path must be a string. Received undefined","user":{"login":"OvermindDL1","id":401605,"avatar_url":"https://avatars.githubusercontent.com/u/401605?v=3","gravatar_id":"","url":"https://api.github.com/users/OvermindDL1","html_url":"https://github.com/OvermindDL1","followers_url":"https://api.github.com/users/OvermindDL1/followers","following_url":"https://api.github.com/users/OvermindDL1/following{/other_user}","gists_url":"https://api.github.com/users/OvermindDL1/gists{/gist_id}","starred_url":"https://api.github.com/users/OvermindDL1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OvermindDL1/subscriptions","organizations_url":"https://api.github.com/users/OvermindDL1/orgs","repos_url":"https://api.github.com/users/OvermindDL1/repos","events_url":"https://api.github.com/users/OvermindDL1/events{/privacy}","received_events_url":"https://api.github.com/users/OvermindDL1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-21T15:21:02Z","updated_at":"2016-07-21T15:21:02Z","closed_at":null,"body":"1. With atom running and linter-elm-make installed and running, open an elm file (in a project with no Main.elm as there are multiple main files) and run the atom command of `Linter Elm Make: Set Main Paths`, then select the path (I just put in one of the files for now for testing), got this:\r\n\r\n**Atom Version**: 1.8.0\r\n**System**: Microsoft Windows 10 Pro\r\n**Thrown From**: [linter-elm-make](https://github.com/mybuddymichael/linter-elm-make) package, v0.12.2\r\n\r\n\r\n### Stack Trace\r\n\r\nUncaught TypeError: Path must be a string. Received undefined\r\n\r\n```\r\nAt path.js:8\r\n\r\nTypeError: Path must be a string. Received undefined\r\n    at assertPath (path.js:8:11)\r\n    at Object.win32.join (path.js:221:5)\r\n    at C:/Users/<username>/.atom/packages/linter-elm-make/lib/linter-elm-make.js:99:33\r\n    at Function.module.exports.Emitter.simpleDispatch (C:\\Users\\<username>\\AppData\\Local\\atom\\app-1.8.0\\resources\\app.asar\\node_modules\\event-kit\\lib\\emitter.js:25:14)\r\n    at Emitter.module.exports.Emitter.emit (C:\\Users\\<username>\\AppData\\Local\\atom\\app-1.8.0\\resources\\app.asar\\node_modules\\event-kit\\lib\\emitter.js:125:28)\r\n    at SetMainPathsView.confirm (C:/Users/<username>/.atom/packages/linter-elm-make/lib/set-main-paths-view.js:93:18)\r\n    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (C:\\Users\\<username>\\AppData\\Local\\atom\\app-1.8.0\\resources\\app.asar\\src\\command-registry.js:260:29)\r\n    at C:\\Users\\<username>\\AppData\\Local\\atom\\app-1.8.0\\resources\\app.asar\\src\\command-registry.js:3:61\r\n    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (C:\\Users\\<username>\\AppData\\Local\\atom\\app-1.8.0\\resources\\app.asar\\node_modules\\atom-keymap\\lib\\keymap-manager.js:580:16)\r\n    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (C:\\Users\\<username>\\AppData\\Local\\atom\\app-1.8.0\\resources\\app.asar\\node_modules\\atom-keymap\\lib\\keymap-manager.js:388:22)\r\n    at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeyEvent (C:\\Users\\<username>\\AppData\\Local\\atom\\app-1.8.0\\resources\\app.asar\\src\\window-event-handler.js:98:36)\r\n    at HTMLDocument.<anonymous> (C:\\Users\\<username>\\AppData\\Local\\atom\\app-1.8.0\\resources\\app.asar\\src\\window-event-handler.js:3:61)\r\n```\r\n\r\n### Commands\r\n\r\n```\r\n 17x -1:06.1.0 blur (atom-text-editor.editor.is-focused)\r\n     -0:48.2.0 core:confirm (atom-text-editor.editor.mini.is-focused)\r\n  3x -0:43.1.0 blur (atom-text-editor.editor.mini.is-focused)\r\n     -0:30.1.0 core:save (input#linter-elm-make.lintOnTheFly.)\r\n 18x -0:30 blur (input#linter-elm-make.lintOnTheFly.)\r\n     -0:12.1.0 command-palette:toggle (atom-text-editor.editor.is-focused)\r\n     -0:11.9.0 blur (atom-text-editor.editor.is-focused)\r\n     -0:07.0 core:confirm (atom-text-editor.editor.mini.is-focused)\r\n     -0:07.0 blur (atom-text-editor.editor.mini.is-focused)\r\n     -0:07.0 linter-elm-make:set-main-paths (atom-text-editor.editor)\r\n     -0:06.9.0 blur (atom-text-editor.editor)\r\n     -0:01.8.0 linter-elm-make:confirm-set-main-paths (atom-text-editor.editor.atom-text-editor.linter-elm-make-set-main-paths.mini.is-focused)\r\n     -0:01.7.0 blur (atom-text-editor.editor.atom-text-editor.linter-elm-make-set-main-paths.mini.is-focused)\r\n```\r\n\r\n### Config\r\n\r\n```json\r\n{\r\n  \"core\": {\r\n    \"autoHideMenuBar\": true,\r\n    \"disabledPackages\": [\r\n      \"autocomplete-go\",\r\n      \"atom-powersnap\",\r\n      \"activate-power-mode-delete\",\r\n      \"autocomplete-dcd\",\r\n      \"elm\",\r\n      \"autocomplete-en-en\",\r\n      \"spell-check\",\r\n      \"latex-completions\",\r\n      \"erlang-build\"\r\n    ],\r\n    \"projectHome\": \"C:\\\\Users\\\\<username>\\\\Projects\",\r\n    \"themes\": [\r\n      \"atom-dark-ui\",\r\n      \"solarized-dark-syntax\"\r\n    ]\r\n  },\r\n  \"linter-elm-make\": {\r\n    \"alwaysCompileMain\": true,\r\n    \"elmMakeExecutablePath\": \"C:\\\\Program Files (x86)\\\\Elm Platform\\\\0.17.1\\\\bin\\\\elm-make.exe\"\r\n  }\r\n}\r\n```\r\n\r\n### Installed Packages\r\n\r\n```coffee\r\n# User\r\nactivate-power-mode, v0.7.0\r\nascii-codes, v0.3.3\r\nascii-hex, v0.2.0\r\natom-autocomplete-erlang, v0.6.19\r\natom-beautify, v0.29.10\r\natom-elixir, v0.2.1\r\natom-formatter-jsbeautify, v1.1.2\r\natom-svg-icon-snippets, v0.3.3\r\natomic-chrome, v0.3.0\r\nautocomplete-asciidoc, v0.1.1\r\nautocomplete-awk, v0.1.2\r\nautocomplete-cmake, v0.3.1\r\nautocomplete-elixir, v1.5.14\r\nautocomplete-emojis, v2.5.0\r\nautocomplete-erlang, v1.1.2\r\nautocomplete-fortran, v0.9.0\r\nautocomplete-gdscript, v0.4.0\r\nautocomplete-glsl, v0.2.3\r\nautocomplete-html-entities, v0.1.0\r\nautocomplete-js-import, v1.0.1\r\nautocomplete-json, v5.1.0\r\nautocomplete-mathjax, v0.1.1\r\nautocomplete-modules, v1.5.2\r\nautocomplete-oracle, v0.4.0\r\nautocomplete-php, v0.3.7\r\nautocomplete-python, v1.8.2\r\nautocomplete-xml, v0.8.3\r\nbuild-elixir, v0.6.0\r\nbuild-powershell, v0.3.4\r\ncharacter-table, v0.4.3\r\nclipboard-plus, v0.5.1\r\ndata-atom, v0.21.0\r\nelixir-cmd, v0.2.9\r\nelm-format, v2.0.1\r\nelm-snippets, v0.1.0\r\nemmet, v2.4.3\r\nemoji-code, v0.3.1\r\nerlang-autocompile, v0.1.1\r\nes-identifier-highlight, v0.2.11\r\nfilesize, v0.4.2\r\nfill-line, v1.0.0\r\nfold-functions, v0.4.3\r\nfont-awesome-snippetset, v0.0.6\r\nfonts, v1.6.0\r\ngit-checkout, v0.3.2\r\ngit-commit, v1.5.2\r\ngit-diff-details, v1.3.0\r\ngit-log, v0.4.1\r\ngo-config, v1.2.1\r\ngo-get, v1.0.3\r\nhex, v0.6.2\r\nhighlight-bad-chars, v1.0.5\r\nhtml-entitize, v1.1.0\r\nlanguage-asn1, v0.3.0\r\nlanguage-batchfile, v0.4.0\r\nlanguage-csv, v1.1.2\r\nlanguage-elixir, v0.14.0\r\nlanguage-elm, v1.5.0\r\nlanguage-elmx, v1.2.6\r\nlanguage-erlang, v3.0.0\r\nlanguage-javascript-jsx, v0.3.7\r\nlanguage-oracle, v1.4.1\r\nlanguage-pgsql, v0.2.3\r\nlanguage-powershell, v2.1.1\r\nlanguage-story, v1.2.0\r\nlanguage-svg, v0.9.0\r\nlinter, v1.11.14\r\nlinter-checkbashisms, v0.1.5\r\nlinter-elixir-credo, v1.1.0\r\nlinter-elm-make, v0.12.2\r\nlinter-erlang, v0.3.1\r\nlinter-erlang-dialyzer, v0.0.1\r\nminimap, v4.24.7\r\nminimap-bookmarks, v0.3.1\r\nminimap-codeglance, v0.4.5\r\nminimap-cursorline, v0.2.0\r\nminimap-git-diff, v4.3.1\r\nminimap-highlight-selected, v4.4.0\r\nminimap-linter, v1.1.1\r\nminimap-pigments, v0.2.1\r\nminimap-selection, v4.4.0\r\nopen-no-binaries, v0.1.1\r\nphoenix-elixir-snippets, v0.4.0\r\npigments, v0.31.2\r\nproject-colorize, v0.2.0\r\nqolor, v0.2.2\r\nreact, v0.15.0\r\nresize-indent, v0.3.0\r\nsvg-preview, v0.7.4\r\ntabular, v0.1.0\r\ntext-manipulation, v0.6.0\r\ntree-view-git-branch, v0.1.2\r\ntree-view-git-status, v1.0.2\r\n\r\n# Dev\r\nNo dev packages\r\n```\r\n\r\n"}}
{"actor":{"display_login":"OvermindDL1"}}