{"action":"closed","issue":{"url":"https://api.github.com/repos/atom/tree-view/issues/823","repository_url":"https://api.github.com/repos/atom/tree-view","labels_url":"https://api.github.com/repos/atom/tree-view/issues/823/labels{/name}","comments_url":"https://api.github.com/repos/atom/tree-view/issues/823/comments","events_url":"https://api.github.com/repos/atom/tree-view/issues/823/events","html_url":"https://github.com/atom/tree-view/issues/823","id":151008710,"number":823,"title":"Failed to activate v0.206.2 Cannot find module 'electron'","user":{"login":"oakesja","id":2292766,"avatar_url":"https://avatars.githubusercontent.com/u/2292766?v=3","gravatar_id":"","url":"https://api.github.com/users/oakesja","html_url":"https://github.com/oakesja","followers_url":"https://api.github.com/users/oakesja/followers","following_url":"https://api.github.com/users/oakesja/following{/other_user}","gists_url":"https://api.github.com/users/oakesja/gists{/gist_id}","starred_url":"https://api.github.com/users/oakesja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oakesja/subscriptions","organizations_url":"https://api.github.com/users/oakesja/orgs","repos_url":"https://api.github.com/users/oakesja/repos","events_url":"https://api.github.com/users/oakesja/events{/privacy}","received_events_url":"https://api.github.com/users/oakesja/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-25T23:50:57Z","updated_at":"2016-04-25T23:57:26Z","closed_at":"2016-04-25T23:57:26Z","body":"### Steps to reproduce below\r\n\r\n1. Install the latest version, v0.206.2, of tree-view\r\n2. Reload atom\r\n3. tree-view fails to activate\r\n\r\n**Atom Version**: 1.4.0\r\n**System**: Ubuntu 14.04.4\r\n**Thrown From**: [tree-view](https://github.com/atom/tree-view) package, v0.206.2\r\n\r\n\r\n### Stack Trace\r\n\r\nFailed to activate the tree-view package\r\n\r\n```\r\nAt Cannot find module 'electron'\r\n\r\nError: Cannot find module 'electron'\r\n    at Module._resolveFilename (module.js:336:15)\r\n    at Function.Module._resolveFilename (/usr/share/atom/resources/app.asar/src/module-cache.js:383:52)\r\n    at Function.Module._load (module.js:286:25)\r\n    at Module.require (module.js:365:17)\r\n    at require (/usr/share/atom/resources/app.asar/src/native-compile-cache.js:50:27)\r\n    at Object.<anonymous> (/home/joakes/.atom/packages/tree-view/lib/tree-view.coffee:2:11)\r\n    at Object.<anonymous> (/home/joakes/.atom/packages/tree-view/lib/tree-view.coffee:1:1)\r\n    at Module._compile (/usr/share/atom/resources/app.asar/src/native-compile-cache.js:103:30)\r\n    at Object.defineProperty.value [as .coffee] (/usr/share/atom/resources/app.asar/src/compile-cache.js:208:21)\r\n    at Module.load (module.js:355:32)\r\n    at Function.Module._load (module.js:310:12)\r\n    at Module.require (module.js:365:17)\r\n    at require (/usr/share/atom/resources/app.asar/src/native-compile-cache.js:50:27)\r\n    at Object.module.exports.createView (/home/joakes/.atom/packages/tree-view/lib/main.coffee:49:18)\r\n    at Object.module.exports.activate (/home/joakes/.atom/packages/tree-view/lib/main.coffee:13:6)\r\n    at Package.module.exports.Package.activateNow (/usr/share/atom/resources/app.asar/src/package.js:183:20)\r\n    at /usr/share/atom/resources/app.asar/src/package.js:156:32\r\n    at Package.module.exports.Package.measure (/usr/share/atom/resources/app.asar/src/package.js:92:15)\r\n    at /usr/share/atom/resources/app.asar/src/package.js:149:26\r\n    at Package.module.exports.Package.activate (/usr/share/atom/resources/app.asar/src/package.js:146:34)\r\n    at PackageManager.module.exports.PackageManager.activatePackage (/usr/share/atom/resources/app.asar/src/package-manager.js:524:21)\r\n    at /usr/share/atom/resources/app.asar/src/package-manager.js:336:19\r\n    at /usr/share/atom/resources/app.asar/src/config.js:623:20\r\n    at Function.module.exports.Emitter.simpleDispatch (/usr/share/atom/resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)\r\n    at Emitter.module.exports.Emitter.emit (/usr/share/atom/resources/app.asar/node_modules/event-kit/lib/emitter.js:125:28)\r\n    at Config.module.exports.Config.emitChangeEvent (/usr/share/atom/resources/app.asar/src/config.js:808:29)\r\n    at Config.module.exports.Config.setRawValue (/usr/share/atom/resources/app.asar/src/config.js:600:19)\r\n    at Config.module.exports.Config.set (/usr/share/atom/resources/app.asar/src/config.js:227:14)\r\n    at Config.module.exports.Config.removeAtKeyPath (/usr/share/atom/resources/app.asar/src/config.js:377:12)\r\n    at Package.module.exports.Package.enable (/usr/share/atom/resources/app.asar/src/package.js:77:26)\r\n    at PackageManager.module.exports.PackageManager.enablePackage (/usr/share/atom/resources/app.asar/src/package-manager.js:165:14)\r\n    at HTMLButtonElement.<anonymous> (/usr/share/atom/resources/app.asar/node_modules/settings-view/lib/package-card.js:314:27)\r\n    at HTMLButtonElement.jQuery.event.dispatch (/usr/share/atom/resources/app.asar/node_modules/atom-space-pen-views/node_modules/space-pen/node_modules/jquery/dist/jquery.js:4435:9)\r\n    at HTMLButtonElement.elemData.handle (/usr/share/atom/resources/app.asar/node_modules/atom-space-pen-views/node_modules/space-pen/node_modules/jquery/dist/jquery.js:4121:28)\r\n```\r\n\r\n### Commands\r\n\r\n```\r\n     -3:45.6.0 fuzzy-finder:toggle-file-finder (atom-pane.pane.active)\r\n  6x -3:43.3.0 core:backspace (atom-text-editor.editor.mini.is-focused)\r\n     -3:41.9.0 settings-view:open (atom-text-editor.editor.mini.is-focused)\r\n```\r\n\r\n### Config\r\n\r\n```json\r\n{\r\n  \"core\": {\r\n    \"customFileTypes\": {\r\n      \"source.ini\": [\r\n        \".buckconfig\",\r\n        \".flowconfig\"\r\n      ],\r\n      \"source.json\": [\r\n        \".arcconfig\"\r\n      ],\r\n      \"source.python\": [\r\n        \"BUCK\"\r\n      ]\r\n    },\r\n    \"disabledPackages\": [\r\n      \"save-commands\"\r\n    ],\r\n    \"excludeVcsIgnoredPaths\": false,\r\n    \"ignoredNames\": [\r\n      \".git/*\",\r\n      \".idea/*\"\r\n    ],\r\n    \"openEmptyEditorOnStart\": false,\r\n    \"projectHome\": \"/home/joakes/git\"\r\n  }\r\n}\r\n```\r\n\r\n### Installed Packages\r\n\r\n```coffee\r\n# User\r\nautoclose-html, v0.23.0\r\nfile-icons, v1.7.7\r\nlanguage-elm, v1.3.3\r\nline-diff-details, v1.2.0\r\nlinter, v1.11.4\r\nlinter-elm-make, v0.4.0\r\nminimap, v4.22.1\r\nminimap-git-diff, v4.3.0\r\nsync-settings, v0.7.2\r\ntree-view, v0.206.2\r\n\r\n# Dev\r\nNo dev packages\r\n```\r\n"}}