I’m now trying to run node app. My app running with selenium webdriver(chrome). I made droplet (ubuntu 16.04, nodejs 6.11, 512M RAM, 20G HDD). but when I start the app, an error occured and selenium not run. error log is like below.
Error: Server terminated early with status 127 at Error (native) at earlyTermination.catch.e (/home/master/Project/react-jobscrapper/node_modules/selenium-webdriver/remote/index.js:252:52) at process._tickDomainCallback (internal/process/next_tick.js:135:7) From: Task: WebDriver.createSession() at Function.createSession (/home/master/Project/react-jobscrapper/node_modules/selenium-webdriver/lib/webdriver.js:777:24) at Function.createSession (/home/master/Project/react-jobscrapper/node_modules/selenium-webdriver/chrome.js:719:29) at createDriver (/home/master/Project/react-jobscrapper/node_modules/selenium-webdriver/index.js:167:33) at Builder.build (/home/master/Project/react-jobscrapper/node_modules/selenium-webdriver/index.js:639:16) at kakaoCrawler.executeCrawling (/home/master/Project/react-jobscrapper/server/crawler/kakaoCrawler.js:108:11) at /home/master/Project/react-jobscrapper/server/crawler/kakaoCrawler.js:32:10 at Array.forEach (native) at /home/master/Project/react-jobscrapper/server/crawler/kakaoCrawler.js:31:15 at process._tickDomainCallback (internal/process/next_tick.js:135:7) at Function.Module.runMain (module.js:606:11) at Object.<anonymous> (/home/master/Project/react-jobscrapper/node_modules/babel-cli/lib/_babel-node.js:154:22) at Module._compile (module.js:570:32) at Object.Module._extensions…js (module.js:579:10) at Module.load (module.js:487:32) at tryModuleLoad (module.js:446:12) at Function.Module._load (module.js:438:3)
I setted selenium headless option(‘headless’, ‘disable-gpu’) but selenium doesn’t run. somebody help me…
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
This comment has been deleted
I can help you get further, but then you will have an issue with chromedriver hanging… hope this helps, maybe you can solve my issue? :)
apt-get update
Apparently DO droplets lack entropy, so install this for lots of delicious entropy apt-get install haveged and then start it /etc/init.d/haveged start
install unzip
apt-get install unzip
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.