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

前端 未结 5 1620
悲&欢浪女
悲&欢浪女 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条回答
  •  -上瘾入骨i
    2021-01-17 09:01

    In my case I was missing a Java Runtime environment (JRE). I'm running e2e tests with Selenium in a Debian-based docker image, hence apt-get install default-jre did the trick for me. It's a pity selenium doesn't give a more useful error message in this case.

提交回复
热议问题