{"action":"opened","issue":{"url":"https://api.github.com/repos/craig-o/atom-require/issues/7","labels_url":"https://api.github.com/repos/craig-o/atom-require/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/craig-o/atom-require/issues/7/comments","events_url":"https://api.github.com/repos/craig-o/atom-require/issues/7/events","html_url":"https://github.com/craig-o/atom-require/issues/7","id":60033328,"number":7,"title":"Big error message if you activate require in a not-text window","user":{"login":"AgentME","id":577345,"avatar_url":"https://avatars.githubusercontent.com/u/577345?v=3","gravatar_id":"","url":"https://api.github.com/users/AgentME","html_url":"https://github.com/AgentME","followers_url":"https://api.github.com/users/AgentME/followers","following_url":"https://api.github.com/users/AgentME/following{/other_user}","gists_url":"https://api.github.com/users/AgentME/gists{/gist_id}","starred_url":"https://api.github.com/users/AgentME/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AgentME/subscriptions","organizations_url":"https://api.github.com/users/AgentME/orgs","repos_url":"https://api.github.com/users/AgentME/repos","events_url":"https://api.github.com/users/AgentME/events{/privacy}","received_events_url":"https://api.github.com/users/AgentME/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-05T23:20:54Z","updated_at":"2015-03-05T23:20:54Z","closed_at":null,"body":"1. go to atom packages page\r\n2. Activate require\r\n3. Get a big error message\r\n\r\n**Atom Version**: 0.186.0\r\n**System**: Mac OS X 10.9.5\r\n**Thrown From**: [require](https://github.com/craig-o/atom-require) package, v0.1.0\r\n\r\n### Stack Trace\r\n\r\nUncaught TypeError: undefined is not a function\r\n\r\n```\r\nAt /Users/chris/.atom/packages/require/lib/harvest-requires.js:2\r\n\r\nTypeError: undefined is not a function\r\n  at module.exports (/Users/chris/.atom/packages/require/lib/harvest-requires.js:2:50)\r\n  at module.exports (/Users/chris/.atom/packages/require/lib/load-dependencies.js:60:20)\r\n  at atom-workspace.<anonymous> (/Users/chris/.atom/packages/require/views/require-view.js:28:28)\r\n  at atom-workspace.handler (/Applications/Atom.app/Contents/Resources/app/src/space-pen-extensions.js:115:32)\r\n  at atom-workspace.jQuery.event.dispatch (/Applications/Atom.app/Contents/Resources/app/node_modules/space-pen/vendor/jquery.js:4681:9)\r\n  at atom-workspace.elemData.handle (/Applications/Atom.app/Contents/Resources/app/node_modules/space-pen/vendor/jquery.js:4359:46)\r\n  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:243:29)\r\n  at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:3:61)\r\n  at CommandRegistry.module.exports.CommandRegistry.dispatch (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:156:19)\r\n  at EventEmitter.<anonymous> (/Applications/Atom.app/Contents/Resources/app/src/window-event-handler.js:75:30)\r\n  at EventEmitter.emit (events.js:116:17)\r\n\r\n```\r\n\r\n### Commands\r\n\r\n```\r\n     -0:25.0 require:require (atom-text-editor.editor)\r\n     -0:23.1 editor:consolidate-selections (atom-text-editor.editor.mini)\r\n     -0:23.1 core:cancel (atom-text-editor.editor.mini)\r\n     -0:00.8 require:require (div.settings-view.pane-item)\r\n```\r\n\r\n### Config\r\n\r\n```json\r\n{\r\n  \"core\": {}\r\n}\r\n```\r\n\r\n### Installed Packages\r\n\r\n```coffee\r\n# User\r\natom-beautify, v0.21.3\r\ncolor-picker, v1.4.4\r\nhtml-entities, v0.3.1\r\nlanguage-haskell, v1.0.0\r\nlinter, v0.12.0\r\nlinter-jshint, v0.1.0\r\nrequire, v0.1.0\r\n\r\n# Dev\r\nNo dev packages\r\n```\r\n\r\n"}}