Skip to content

Multiple Runs Results in: TypeError: Bad argument #598

@sshaw

Description

@sshaw

Just tried to execute the multiple runs example and got a TypeError:

~ >phantomas https://github.com/macbre/phantomas --verbose --runs 5

/usr/local/lib/node_modules/phantomas/node_modules/phantomjs-prebuilt/lib/location.js:1
(function (exports, require, module, __filename, __dirname) {
                                                              ^
TypeError: Bad argument
    at ChildProcess.spawn (child_process.js:933:24)
    at exports.spawn (child_process.js:733:9)
    at engines.run (/usr/local/lib/node_modules/phantomas/lib/engines.js:128:10)
    at phantomas (/usr/local/lib/node_modules/phantomas/lib/index.js:66:16)
    at task (/usr/local/lib/node_modules/phantomas/bin/phantomas.js:145:14)
    at /usr/local/lib/node_modules/phantomas/node_modules/async/lib/async.js:718:13
    at iterate (/usr/local/lib/node_modules/phantomas/node_modules/async/lib/async.js:262:13)
    at async.forEachOfSeries.async.eachOfSeries (/usr/local/lib/node_modules/phantomas/node_modules/async/lib/async.js:281:9)
    at _parallel (/usr/local/lib/node_modules/phantomas/node_modules/async/lib/async.js:717:9)
    at Object.async.series (/usr/local/lib/node_modules/phantomas/node_modules/async/lib/async.js:739:9)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions