{"action":"created","issue":{"url":"https://api.github.com/repos/JoelBesada/activate-power-mode/issues/143","repository_url":"https://api.github.com/repos/JoelBesada/activate-power-mode","labels_url":"https://api.github.com/repos/JoelBesada/activate-power-mode/issues/143/labels{/name}","comments_url":"https://api.github.com/repos/JoelBesada/activate-power-mode/issues/143/comments","events_url":"https://api.github.com/repos/JoelBesada/activate-power-mode/issues/143/events","html_url":"https://github.com/JoelBesada/activate-power-mode/issues/143","id":152949119,"number":143,"title":"Failed to activate the activate-power-mode package","user":{"login":"wenwuchige","id":6711769,"avatar_url":"https://avatars.githubusercontent.com/u/6711769?v=3","gravatar_id":"","url":"https://api.github.com/users/wenwuchige","html_url":"https://github.com/wenwuchige","followers_url":"https://api.github.com/users/wenwuchige/followers","following_url":"https://api.github.com/users/wenwuchige/following{/other_user}","gists_url":"https://api.github.com/users/wenwuchige/gists{/gist_id}","starred_url":"https://api.github.com/users/wenwuchige/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wenwuchige/subscriptions","organizations_url":"https://api.github.com/users/wenwuchige/orgs","repos_url":"https://api.github.com/users/wenwuchige/repos","events_url":"https://api.github.com/users/wenwuchige/events{/privacy}","received_events_url":"https://api.github.com/users/wenwuchige/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":18,"created_at":"2016-05-04T07:51:19Z","updated_at":"2016-05-23T03:35:15Z","closed_at":null,"body":"when i finished installing,there occur an error:\r\nFailed to activate the activate-power-mode package\r\nundefined is not a function\r\nHide Stack Trace\r\nTypeError: undefined is not a function\r\n    at Object.module.exports.ActivatePowerMode.activate (C:\\Users\\dell\\.atom\\packages\\activate-power-mode\\lib\\activate-power-mode.coffee:18:46)\r\n    at Package.module.exports.Package.activateNow (C:\\Users\\dell\\AppData\\Local\\atom\\app-1.0.11\\resources\\app.asar\\src\\package.js:243:19)\r\n    at C:\\Users\\dell\\AppData\\Local\\atom\\app-1.0.11\\resources\\app.asar\\src\\package.js:224:30\r\n    at Package.module.exports.Package.measure (C:\\Users\\dell\\AppData\\Local\\atom\\app-1.0.11\\resources\\app.asar\\src\\package.js:167:15)\r\n    at Package.module.exports.Package.activate (C:\\Users\\dell\\AppData\\Local\\atom\\app-1.0.11\\resources\\app.asar\\src\\package.js:216:14)\r\n    at PackageManager.module.exports.PackageManager.activatePackage (C:\\Users\\dell\\AppData\\Local\\atom\\app-1.0.11\\resources\\app.asar\\src\\package-manager.js:486:21)\r\n    at C:\\Users\\dell\\AppData\\Local\\atom\\app-1.0.11\\resources\\app.asar\\src\\package-manager.js:469:29\r\n    at Config.module.exports.Config.transact (C:\\Users\\dell\\AppData\\Local\\atom\\app-1.0.11\\resources\\app.asar\\src\\config.js:324:16)\r\n    at PackageManager.module.exports.PackageManager.activatePackages (C:\\Users\\dell\\AppData\\Local\\atom\\app-1.0.11\\resources\\app.asar\\src\\package-manager.js:464:19)\r\n    at PackageManager.module.exports.PackageManager.activate (C:\\Users\\dell\\AppData\\Local\\atom\\app-1.0.11\\resources\\app.asar\\src\\package-manager.js:445:46)\r\n\r\nthe version of my os is win7\r\nand the version of activate-power-mode is 0.41\r\nthe way i install it as follows:\r\nfirstly,i download the zip release file and copy it to the path of packages of atom ,that is C:\\Users\\dell\\AppData\\Local\\atom\\packages in my pc\r\nthen i open the cmd.exe and input the command - apm install activate-power-mode\r\nfinaly ,i got a installing done message\r\nbut when i opened the atom ,the error occur, what should i do? thanks!"},"comment":{"url":"https://api.github.com/repos/JoelBesada/activate-power-mode/issues/comments/220880994","html_url":"https://github.com/JoelBesada/activate-power-mode/issues/143#issuecomment-220880994","issue_url":"https://api.github.com/repos/JoelBesada/activate-power-mode/issues/143","id":220880994,"user":{"login":"webhacking","id":10232178,"avatar_url":"https://avatars.githubusercontent.com/u/10232178?v=3","gravatar_id":"","url":"https://api.github.com/users/webhacking","html_url":"https://github.com/webhacking","followers_url":"https://api.github.com/users/webhacking/followers","following_url":"https://api.github.com/users/webhacking/following{/other_user}","gists_url":"https://api.github.com/users/webhacking/gists{/gist_id}","starred_url":"https://api.github.com/users/webhacking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webhacking/subscriptions","organizations_url":"https://api.github.com/users/webhacking/orgs","repos_url":"https://api.github.com/users/webhacking/repos","events_url":"https://api.github.com/users/webhacking/events{/privacy}","received_events_url":"https://api.github.com/users/webhacking/received_events","type":"User","site_admin":false},"created_at":"2016-05-23T03:35:15Z","updated_at":"2016-05-23T03:35:15Z","body":":+1: "}}
{"actor":{"display_login":"webhacking"}}