A
A
Alexey Ivanov2017-08-27 23:19:04
Node.js
Alexey Ivanov, 2017-08-27 23:19:04

Nightmare library not working on ubuntu server 16_04?

everything worked on the local, the parser worked, transferred the file to the server, all the code works except for Nightmare
, what could be the problem

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Ernest Fayzullin, 2017-08-27
@ernesto77

try like this

sudo apt-get install -y xvfb x11-xkb-utils xfonts-100dpi xfonts-75dpi xfonts-scalable xfonts-cyrillic x11-apps clang libdbus-1-dev libgtk2.0-dev libnotify-dev libgnome-keyring-dev libgconf2-dev libasound2-dev libcap-dev libcups2-dev libxtst-dev libxss1 libnss3-dev gcc-multilib g++-multilib

xvfb-run node --harmony nightmare.js

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question