{"action":"created","issue":{"url":"https://api.github.com/repos/macbre/phantomas/issues/598","repository_url":"https://api.github.com/repos/macbre/phantomas","labels_url":"https://api.github.com/repos/macbre/phantomas/issues/598/labels{/name}","comments_url":"https://api.github.com/repos/macbre/phantomas/issues/598/comments","events_url":"https://api.github.com/repos/macbre/phantomas/issues/598/events","html_url":"https://github.com/macbre/phantomas/issues/598","id":139728505,"number":598,"title":"Multiple Runs Results in: TypeError: Bad argument","user":{"login":"sshaw","id":17570,"avatar_url":"https://avatars.githubusercontent.com/u/17570?v=3","gravatar_id":"","url":"https://api.github.com/users/sshaw","html_url":"https://github.com/sshaw","followers_url":"https://api.github.com/users/sshaw/followers","following_url":"https://api.github.com/users/sshaw/following{/other_user}","gists_url":"https://api.github.com/users/sshaw/gists{/gist_id}","starred_url":"https://api.github.com/users/sshaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sshaw/subscriptions","organizations_url":"https://api.github.com/users/sshaw/orgs","repos_url":"https://api.github.com/users/sshaw/repos","events_url":"https://api.github.com/users/sshaw/events{/privacy}","received_events_url":"https://api.github.com/users/sshaw/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/macbre/phantomas/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-03-09T23:01:34Z","updated_at":"2016-06-14T13:20:04Z","closed_at":null,"body":"Just tried to execute the [multiple runs example](https://github.com/macbre/phantomas#multiple-runs) and got a `TypeError`: \r\n\r\n```\r\n~ >phantomas https://github.com/macbre/phantomas --verbose --runs 5\r\n\r\n/usr/local/lib/node_modules/phantomas/node_modules/phantomjs-prebuilt/lib/location.js:1\r\n(function (exports, require, module, __filename, __dirname) {\r\n                                                              ^\r\nTypeError: Bad argument\r\n    at ChildProcess.spawn (child_process.js:933:24)\r\n    at exports.spawn (child_process.js:733:9)\r\n    at engines.run (/usr/local/lib/node_modules/phantomas/lib/engines.js:128:10)\r\n    at phantomas (/usr/local/lib/node_modules/phantomas/lib/index.js:66:16)\r\n    at task (/usr/local/lib/node_modules/phantomas/bin/phantomas.js:145:14)\r\n    at /usr/local/lib/node_modules/phantomas/node_modules/async/lib/async.js:718:13\r\n    at iterate (/usr/local/lib/node_modules/phantomas/node_modules/async/lib/async.js:262:13)\r\n    at async.forEachOfSeries.async.eachOfSeries (/usr/local/lib/node_modules/phantomas/node_modules/async/lib/async.js:281:9)\r\n    at _parallel (/usr/local/lib/node_modules/phantomas/node_modules/async/lib/async.js:717:9)\r\n    at Object.async.series (/usr/local/lib/node_modules/phantomas/node_modules/async/lib/async.js:739:9)\r\n```"},"comment":{"url":"https://api.github.com/repos/macbre/phantomas/issues/comments/225878261","html_url":"https://github.com/macbre/phantomas/issues/598#issuecomment-225878261","issue_url":"https://api.github.com/repos/macbre/phantomas/issues/598","id":225878261,"user":{"login":"macbre","id":1929317,"avatar_url":"https://avatars.githubusercontent.com/u/1929317?v=3","gravatar_id":"","url":"https://api.github.com/users/macbre","html_url":"https://github.com/macbre","followers_url":"https://api.github.com/users/macbre/followers","following_url":"https://api.github.com/users/macbre/following{/other_user}","gists_url":"https://api.github.com/users/macbre/gists{/gist_id}","starred_url":"https://api.github.com/users/macbre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/macbre/subscriptions","organizations_url":"https://api.github.com/users/macbre/orgs","repos_url":"https://api.github.com/users/macbre/repos","events_url":"https://api.github.com/users/macbre/events{/privacy}","received_events_url":"https://api.github.com/users/macbre/received_events","type":"User","site_admin":false},"created_at":"2016-06-14T13:20:04Z","updated_at":"2016-06-14T13:20:04Z","body":"@xiuhonglee, are there any debug log messages emitted before the error shows up? Please provide npm and nodejs version. Are you installing from npm or cloning git repo?"}}
{"actor":{"display_login":"macbre"}}