How do I solve “Server terminated early with status 127” when running node.js on Linux?

前端 未结 5 1621
悲&欢浪女
悲&欢浪女 2021-01-17 08:27

I’m using node 5.10.0 on this version of Linux

[davea@mydevbox mydir]$ uname -a
Linux mydevbox.mydomain.com 7.3.8-25.26.amzn1.x86_64 #1 SMP Wed Mar 16 17:15:         


        
5条回答
  •  生来不讨喜
    2021-01-17 09:20

    I had the same problem. I had different versions of chromedriver and google-chrome-stable package in Ubuntu. I checked the chrome version by google-chrome-stable --version CLI command. And then downloaded the suitable chromedriver from here: http://chromedriver.storage.googleapis.com/index.html. Copped it into /usr/bin/local and set 777 permissions to the file. Everything started working.

提交回复
热议问题