{"action":"created","issue":{"url":"https://api.github.com/repos/klorenz/atom-open-plus/issues/19","repository_url":"https://api.github.com/repos/klorenz/atom-open-plus","labels_url":"https://api.github.com/repos/klorenz/atom-open-plus/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/klorenz/atom-open-plus/issues/19/comments","events_url":"https://api.github.com/repos/klorenz/atom-open-plus/issues/19/events","html_url":"https://github.com/klorenz/atom-open-plus/issues/19","id":139793461,"number":19,"title":"Uncaught RangeError: Maximum call stack size exceeded","user":{"login":"pascalpp","id":1355312,"avatar_url":"https://avatars.githubusercontent.com/u/1355312?v=3","gravatar_id":"","url":"https://api.github.com/users/pascalpp","html_url":"https://github.com/pascalpp","followers_url":"https://api.github.com/users/pascalpp/followers","following_url":"https://api.github.com/users/pascalpp/following{/other_user}","gists_url":"https://api.github.com/users/pascalpp/gists{/gist_id}","starred_url":"https://api.github.com/users/pascalpp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pascalpp/subscriptions","organizations_url":"https://api.github.com/users/pascalpp/orgs","repos_url":"https://api.github.com/users/pascalpp/repos","events_url":"https://api.github.com/users/pascalpp/events{/privacy}","received_events_url":"https://api.github.com/users/pascalpp/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-10T05:50:17Z","updated_at":"2016-03-11T04:40:49Z","closed_at":"2016-03-10T22:37:55Z","body":"###\r\n1. i have a JS project using webpack with a 'src' directory. many of my requires use this as the starting point for resolution, e.g. `require('module/banner/banner')`\r\n2. when i click in the module path and trigger open-plus, I hangs and eventually produces the error below.\r\n3. this used to work. open-plus would work its way up the src tree until it was able to resolve the file. so i think something changes in a recent release which broke this functionality.\r\n4. the error occurs with `require('module/banner/banner')` or `require('module/banner/banner.js')`\r\n5. relative paths still work fine, e.g. `require('./foo.js')`\r\n\r\n**Atom Version**: 1.5.4\r\n**System**: Mac OS X 10.11.3\r\n**Thrown From**: [open-plus](https://github.com/klorenz/atom-open-plus) package, v0.8.1\r\n\r\n\r\n### Stack Trace\r\n\r\nUncaught RangeError: Maximum call stack size exceeded\r\n\r\n```\r\nAt /Users/pascal/.atom/packages/open-plus/lib/open-plus-opener.coffee:125\r\n\r\nRangeError: Maximum call stack size exceeded\r\n    at /Users/pascal/.atom/packages/open-plus/lib/open-plus-opener.coffee:125:28\r\n    at OpenPlusOpener.findAndOpen (/Users/pascal/.atom/packages/open-plus/lib/open-plus-opener.coffee:153:10)\r\n    at OpenPlusOpener.findAndOpen (/Users/pascal/.atom/packages/open-plus/lib/open-plus-opener.coffee:153:10)\r\n    ... many duplicate lines omitted ...\r\n    at OpenPlusOpener.findAndOpen (/Users/pascal/.atom/packages/open-plus/lib/open-plus-opener.coffee:153:10)\r\n    at OpenPlusOpener.findAndOpen (/Users/pascal/.atom/packages/open-plus/lib/open-plus-opener.coffee:153:10)\r\n    at OpenPlusOpener.open (/Users/pascal/.atom/packages/open-plus/lib/open-plus-opener.coffee:32:6)\r\n    at /Users/pascal/.atom/packages/open-plus/lib/open-plus-opener.coffee:205:23\r\n```\r\n\r\n### Commands\r\n\r\n```\r\n     -5:59.4.0 editor:move-to-beginning-of-line (atom-text-editor.editor.is-focused)\r\n     -5:58 editor:consolidate-selections (atom-text-editor.editor.is-focused)\r\n     -5:58 core:cancel (atom-text-editor.editor.is-focused)\r\n     -5:57.5.0 core:move-up (atom-text-editor.editor.is-focused)\r\n     -5:57 editor:newline (atom-text-editor.editor.is-focused)\r\n     -5:55.8.0 autocomplete-plus:confirm (atom-text-editor.editor.is-focused.autocomplete-active)\r\n     -5:55.8.0 snippets:expand (atom-text-editor.editor.is-focused.autocomplete-active)\r\n     -5:54.7.0 core:save (atom-text-editor.editor.is-focused)\r\n     -5:32.8.0 open-plus:open (atom-text-editor.editor.is-focused)\r\n     -5:24.9.0 editor:consolidate-selections (atom-text-editor.editor.is-focused)\r\n     -5:24.9.0 core:cancel (atom-text-editor.editor.is-focused)\r\n     -5:20.3.0 settings-view:open (atom-text-editor.editor.is-focused)\r\n     -5:17 core:select-all (atom-text-editor.editor.mini.is-focused)\r\n     -5:16.9.0 core:backspace (atom-text-editor.editor.mini.is-focused)\r\n     -0:13.3.0 core:close (div.package-detail.panels-item)\r\n     -0:11.1.0 open-plus:open (atom-text-editor.editor.is-focused)\r\n```\r\n\r\n### Config\r\n\r\n```json\r\n{\r\n  \"core\": {\r\n    \"disabledPackages\": [\r\n      \"term2\",\r\n      \"markdown-scroll-sync\",\r\n      \"line-ending-converter\",\r\n      \"terminal-plus\",\r\n      \"background-tips\",\r\n      \"atom-ternjs\",\r\n      \"language-babel\",\r\n      \"react\"\r\n    ],\r\n    \"excludeVcsIgnoredPaths\": false,\r\n    \"ignoredNames\": [\r\n      \".git\",\r\n      \".DS_Store\",\r\n      \"*.orig\",\r\n      \"*.pyc\",\r\n      \"*.pid\",\r\n      \"*.db\"\r\n    ],\r\n    \"projectHome\": \"/Users/pascal/Projects\"\r\n  },\r\n  \"open-plus\": {\r\n    \"confirmOpenNewFile\": true\r\n  }\r\n}\r\n```\r\n\r\n### Installed Packages\r\n\r\n```coffee\r\n# User\r\natom-beautify, v0.28.26\r\natom-html-preview, v0.1.16\r\nautocomplete-paths, v1.0.2\r\nchange-case, v0.6.0\r\nlanguage-diff, v0.4.0\r\nless-than-slash, v0.12.3\r\nlinter, v1.11.3\r\nlinter-eslint, v7.0.0\r\nlinter-jscs, v3.4.8\r\nlinter-jshint, v2.0.2\r\nlinter-less, v2.4.2\r\nlinter-pyflakes, v0.3.0\r\noneliner, v0.1.4\r\nopen-plus, v0.8.1\r\nproject-manager, v2.7.6\r\nrun-in-browser, v0.1.3\r\ntab-control, v0.6.9\r\ntext-manipulation, v0.6.0\r\nthe-closer, v0.6.0\r\ntrailing-semicolon, v1.1.0\r\n\r\n# Dev\r\nNo dev packages\r\n```"},"comment":{"url":"https://api.github.com/repos/klorenz/atom-open-plus/issues/comments/195179950","html_url":"https://github.com/klorenz/atom-open-plus/issues/19#issuecomment-195179950","issue_url":"https://api.github.com/repos/klorenz/atom-open-plus/issues/19","id":195179950,"user":{"login":"pascalpp","id":1355312,"avatar_url":"https://avatars.githubusercontent.com/u/1355312?v=3","gravatar_id":"","url":"https://api.github.com/users/pascalpp","html_url":"https://github.com/pascalpp","followers_url":"https://api.github.com/users/pascalpp/followers","following_url":"https://api.github.com/users/pascalpp/following{/other_user}","gists_url":"https://api.github.com/users/pascalpp/gists{/gist_id}","starred_url":"https://api.github.com/users/pascalpp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pascalpp/subscriptions","organizations_url":"https://api.github.com/users/pascalpp/orgs","repos_url":"https://api.github.com/users/pascalpp/repos","events_url":"https://api.github.com/users/pascalpp/events{/privacy}","received_events_url":"https://api.github.com/users/pascalpp/received_events","type":"User","site_admin":false},"created_at":"2016-03-11T04:40:49Z","updated_at":"2016-03-11T04:40:49Z","body":"Confirmed! 0.9.1 fixes this. Thank you so much. :beers: "}}