Skip to content

I have a problem,please help me , thx! #2

@lllliuliu

Description

@lllliuliu

when i run ' node www.google.com.js', result:

[root@localhost page-monitor]# [DEBUG] cli arguments: ["--max-disk-cache-size=0","--disk-cache=false","--ignore-ssl-errors=yes"]

child_process.js:946
var r = this._handle.spawn(options);
^
TypeError: Bad argument
at ChildProcess.spawn (child_process.js:946:24)
at exports.spawn (child_process.js:746:9)
at Monitor._phantom (/test/phantomjs/page-monitor/node_modules/page-monitor/index.js:419:16)
at Monitor.capture (/test/phantomjs/page-monitor/node_modules/page-monitor/index.js:357:17)
at Object. (/test/phantomjs/page-monitor/www.7230.com.js:12:9)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)

What Happened?

system is centos6.5
npm and node.js is yum install
phantomjs is make install

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions