{"action":"closed","issue":{"url":"https://api.github.com/repos/electron-userland/electron-packager/issues/363","repository_url":"https://api.github.com/repos/electron-userland/electron-packager","labels_url":"https://api.github.com/repos/electron-userland/electron-packager/issues/363/labels{/name}","comments_url":"https://api.github.com/repos/electron-userland/electron-packager/issues/363/comments","events_url":"https://api.github.com/repos/electron-userland/electron-packager/issues/363/events","html_url":"https://github.com/electron-userland/electron-packager/issues/363","id":154352067,"number":363,"title":"cannot run any command without receiving error ","user":{"login":"heaversm","id":520541,"avatar_url":"https://avatars.githubusercontent.com/u/520541?v=3","gravatar_id":"","url":"https://api.github.com/users/heaversm","html_url":"https://github.com/heaversm","followers_url":"https://api.github.com/users/heaversm/followers","following_url":"https://api.github.com/users/heaversm/following{/other_user}","gists_url":"https://api.github.com/users/heaversm/gists{/gist_id}","starred_url":"https://api.github.com/users/heaversm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heaversm/subscriptions","organizations_url":"https://api.github.com/users/heaversm/orgs","repos_url":"https://api.github.com/users/heaversm/repos","events_url":"https://api.github.com/users/heaversm/events{/privacy}","received_events_url":"https://api.github.com/users/heaversm/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/electron-userland/electron-packager/labels/duplicate","name":"duplicate","color":"cccccc"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-11T21:55:25Z","updated_at":"2016-05-11T22:03:57Z","closed_at":"2016-05-11T22:03:57Z","body":"<!-- Please describe the issue here. -->\r\n\r\nUnexpected Token illegal\r\n\r\noccurs when running any electron-packager command\r\n\r\n<!-- To make it easier for the community to resolve your issue, please answer the following\r\n     questions to the best of your ability, where it's relevant. -->\r\n\r\n> Which version of electron-packager are you using?\r\n\r\n7.0.1\r\n\r\n> What CLI arguments are you passing? Alternatively, if you are using the API, what parameters are\r\n> you passing to the `packager()` function?\r\n\r\n`electron-packager` and `electron-packager . --all`\r\n\r\n> What version of [Electron](http://electron.atom.io) are you building with?\r\n<!-- The value of the version parameter, or the specific version of electron-prebuilt in\r\n     package.json -->\r\n\r\n1.0.1\r\n\r\n\r\n> What is the host platform are you running electron-packager on?\r\n<!-- Please supply name, version, and architecture. -->\r\n\r\nmac osx 10.9.5 (darwin x64)\r\n\r\n> What target platform(s)/architecture(s) are you building for?\r\n\r\nmac osx 10.9.5 (darwin x64)\r\n\r\n> Is there a stack trace in the error message you're seeing?\r\n<!-- If so, please paste it (preferably in a preformatted block) -->\r\n\r\n```/usr/local/lib/node_modules/electron-packager/common.js:67\r\n  return `${opts.name}-${opts.platform}-${opts.arch}`\r\n         ^\r\nSyntaxError: Unexpected token ILLEGAL\r\n    at exports.runInThisContext (vm.js:73:16)\r\n    at Module._compile (module.js:443:25)\r\n    at Object.Module._extensions..js (module.js:478:10)\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 (module.js:384:17)\r\n    at Object.<anonymous> (/usr/local/lib/node_modules/electron-packager/cli.js:2:14)\r\n    at Module._compile (module.js:460:26)\r\n    at Object.Module._extensions..js (module.js:478:10)\r\n```\r\n\r\n> Please provide either a failing testcase or detailed steps to reproduce your problem.\r\n\r\nInstall electron via node: `npm install electron-prebuilt -g`\r\nInstall electron packager via node: `npm install electron-packager -g`\r\nCreate an app that successfully compiles when running `electron . ` from project directory\r\nAttempt to package by running `electron-packager . --all`\r\nReceive above error in terminal"}}