-
Notifications
You must be signed in to change notification settings - Fork 37
buster-server fails on headless mode on Windows 8 #434
Comments
Same behavior on Windows 7 Enterprise |
With Windows 7 Professional 64 bit and phantom.js 1.9.7 all works fine for me. Unfortunately i don't have Windows 7 Enterprise or Windows 8 Enterprise. Do you know if phantom.js generally works on the machines, independently of Buster.JS? |
@atlefren, could you please provide further informations? |
@atlefren, i tried to reproduce the issue on a Windows 7 Enterprise machine, but for me |
@dwittner Sorry for the delay, extended vacation to blame. Will check as soon as possible, thanks for following up! |
@dwittner I installed phantomjs using npm, and haven't been using it for anything else. The "phanthomjs -v" command returns a version number (as above), and "phantomjs" gives me an interactive prompt, that seems to be working fine. My npm packages seems to be in "C:\Users\Atle\AppData\Roaming\npm", which is on my PATH. This is the same directory as buster is installed in. |
Ah! Finally I got to the root cause of this. It seems like buster-server and phantomjs doesn't play nice on Windows when phantomjs is installed using npm (due to this: nodejs/node-v0.x-archive#2318) So, the solution was to uninstall the phantomjs installed via npm and install a phantomjs.exe file. Worked as expected after this. (this is probably a known thing for node-windows users, but as this worked fine on Linux I could not understand why it didn't work on windows). Maybe worth adding to the readme if it isn't already there? |
Thanks for the info. I will try to find a way phantomjs from npm can also be used on windows. |
The solution is to use I also need to get my hands on a proper Windows machine with full dev tools, as phantomjs seems to crash a lot on Appveyor - it could be memory issues or whatever other random stuff. |
os: Windows 8 enterprise
When trying to run buster-server with the -c option (for headless mode on win8) an error occurs and the process dies, but things work just fine without the -c option.
This works as excpected on Ubuntu 14.10:
The text was updated successfully, but these errors were encountered: