{"action":"created","issue":{"url":"https://api.github.com/repos/steelbrain/package-deps/issues/30","labels_url":"https://api.github.com/repos/steelbrain/package-deps/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/steelbrain/package-deps/issues/30/comments","events_url":"https://api.github.com/repos/steelbrain/package-deps/issues/30/events","html_url":"https://github.com/steelbrain/package-deps/issues/30","id":118241895,"number":30,"title":"Installing linter-eslint fails from uncaught exception in main.js","user":{"login":"jonboiser","id":10248067,"avatar_url":"https://avatars.githubusercontent.com/u/10248067?v=3","gravatar_id":"","url":"https://api.github.com/users/jonboiser","html_url":"https://github.com/jonboiser","followers_url":"https://api.github.com/users/jonboiser/followers","following_url":"https://api.github.com/users/jonboiser/following{/other_user}","gists_url":"https://api.github.com/users/jonboiser/gists{/gist_id}","starred_url":"https://api.github.com/users/jonboiser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonboiser/subscriptions","organizations_url":"https://api.github.com/users/jonboiser/orgs","repos_url":"https://api.github.com/users/jonboiser/repos","events_url":"https://api.github.com/users/jonboiser/events{/privacy}","received_events_url":"https://api.github.com/users/jonboiser/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-22T05:43:17Z","updated_at":"2015-11-22T11:52:59Z","closed_at":null,"body":"Clean install of linter-eslint@5.2.1, atom@1.2.3, linter@1.11.2 on OS X Yosemite\r\n\r\nAn error is thrown from the `atom-package-deps/lib/main.js` at https://github.com/steelbrain/package-deps/blob/master/lib/main.js#L15, which causes the rest of the package to fail.\r\n\r\nIn the debugger, it seems that the call `require('callsite')()` returns the following error string\r\n\r\n```\r\n\"Error\r\n    at Object.eval (eval at evaluate (unknown source), <anonymous>:1:20)\r\n    at Object.InjectedScript._evaluateOn (<anonymous>:904:55)\r\n    at Object.InjectedScript._evaluateAndWrap (<anonymous>:837:34)\r\n    at Object.InjectedScript.evaluateOnCallFrame (<anonymous>:963:21)\r\n    at Object.install (/Users/jonathan/.atom/packages/linter-eslint/node_modules/atom-package-deps/lib/main.js:15:5)\r\n    at Object.activate (/Users/jonathan/.atom/packages/linter-eslint/lib/main.js:53:34)\r\n    at Package.module.exports.Package.activateNow (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:170:19)\r\n    at /Applications/Atom.app/Contents/Resources/app.asar/src/package.js:150:32\r\n    at Package.module.exports.Package.measure (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:92:15)\r\n    at /Applications/Atom.app/Contents/Resources/app.asar/src/package.js:143:26\"\r\n```\r\n\r\nwhich then results in the expression `require('callsite')()[1].getFileName()` to throw a 'not a function error', since `require('callsite')()[1]` is simply the character \"E\".\r\n"},"comment":{"url":"https://api.github.com/repos/steelbrain/package-deps/issues/comments/158752668","html_url":"https://github.com/steelbrain/package-deps/issues/30#issuecomment-158752668","issue_url":"https://api.github.com/repos/steelbrain/package-deps/issues/30","id":158752668,"user":{"login":"steelbrain","id":4278113,"avatar_url":"https://avatars.githubusercontent.com/u/4278113?v=3","gravatar_id":"","url":"https://api.github.com/users/steelbrain","html_url":"https://github.com/steelbrain","followers_url":"https://api.github.com/users/steelbrain/followers","following_url":"https://api.github.com/users/steelbrain/following{/other_user}","gists_url":"https://api.github.com/users/steelbrain/gists{/gist_id}","starred_url":"https://api.github.com/users/steelbrain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steelbrain/subscriptions","organizations_url":"https://api.github.com/users/steelbrain/orgs","repos_url":"https://api.github.com/users/steelbrain/repos","events_url":"https://api.github.com/users/steelbrain/events{/privacy}","received_events_url":"https://api.github.com/users/steelbrain/received_events","type":"User","site_admin":false},"created_at":"2015-11-22T11:52:59Z","updated_at":"2015-11-22T11:52:59Z","body":"I'll test this on a windows machine shortly and see if the results differ"}}