Closed jdneo closed 8 years ago
I'm using node-phantom-simple + slimerJs to doing some regression tests. The slimerjs is downloaded through npm.
And the version of them is: "node-phantom-simple": "^2.2.4" "slimerjs": "^0.906.2"
The tests are run on windows so no need for xvfb.
But when i run it, I got:
{ [HeadlessError: Phantom immediately exited with: 1] name: 'HeadlessError', message: 'Phantom immediately exited with: 1' }
i have no idea about that. Could you please give some suggestions so I can figure out where the problem is.
Thank you so much!
Finally I figure out where the problem is. The slimerjs npm package was installed in C:\Program Files... So when the child_process was spawned, it would treat C:\Program as a executable file.
I'm using node-phantom-simple + slimerJs to doing some regression tests. The slimerjs is downloaded through npm.
And the version of them is: "node-phantom-simple": "^2.2.4" "slimerjs": "^0.906.2"
The tests are run on windows so no need for xvfb.
But when i run it, I got:
{ [HeadlessError: Phantom immediately exited with: 1] name: 'HeadlessError', message: 'Phantom immediately exited with: 1' }
i have no idea about that. Could you please give some suggestions so I can figure out where the problem is.
Thank you so much!