Current time: 01-28-2020, 01:14 AM Hello There, Guest! (LoginRegister)

Post Reply 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Nodejs on Ubuntu
06-25-2015, 02:36 AM
Post: #3
RE: Nodejs on Ubuntu
It looks like it is trying to launch chrome using chrome as opposed to google-chrome, iv created a symlink from chrome to google-chrome and it is now throwing different errors which I think might be related to trying to launch chrome on a linux server without a gui - same occurs when just trying to launch chrome manually:

I Jun_24_11:37:42.996 process_utils.js:366 unknown : Spawning: chrome [ '--disable-fre',
'-remote-debugging-port=1234' ] undefined
W Jun_24_11:37:43.027 process_utils.js:372 Socket.<anonymous> : chrome STDERR: /usr/bin/chrome: line 73: /dev/fd/62: No such file or directory
/usr/bin/chrome: line 74: /dev/fd/62: No such file or directory
W Jun_24_11:37:43.079 process_utils.js:372 Socket.<anonymous> : chrome STDERR: [0624/] Failed to create /root/.pki/nssdb directory.
E Jun_24_11:37:53.061 wd_server.js:195 WebDriverServer.<anonymous> : Exception from "Run test": Error: Connect DevTools
Wait timed out after 10014ms
D Jun_24_11:37:53.061 wd_server.js:196 WebDriverServer.<anonymous> : Error: Connect DevTools

I've installed xvfb which allows you to run chrome in a headless fashion, tested ok:

Im going to try and munge the above xvfb cmd into the code but my js skills are almost non existent so if anyone has any suggestions about how to best integrate this or any alternative methods they would be very welcome.
Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
Nodejs on Ubuntu - Sam8 - 06-24-2015, 07:55 AM
RE: Nodejs on Ubuntu - pmeenan - 06-25-2015, 12:07 AM
RE: Nodejs on Ubuntu - Sam8 - 06-25-2015 02:36 AM
RE: Nodejs on Ubuntu - Sam8 - 06-25-2015, 12:12 PM
RE: Nodejs on Ubuntu - Sam8 - 06-26-2015, 04:26 AM
RE: Nodejs on Ubuntu - Sam8 - 06-27-2015, 02:21 AM

Forum Jump:

User(s) browsing this thread: 1 Guest(s)