Skip to content

Instantly share code, notes, and snippets.

@dwickstrom
Last active December 22, 2018 01:27
Show Gist options
  • Star 13 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
  • Save dwickstrom/c29b32a0403ed1b570b4 to your computer and use it in GitHub Desktop.
Save dwickstrom/c29b32a0403ed1b570b4 to your computer and use it in GitHub Desktop.
NightmareJS - install Electron on Ubuntu 14.04
apt-get -y update
apt-get -y upgrade
apt-get -y --force-yes install make unzip g++ libssl-dev git 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
npm -f init
npm i -S nightmare
xvfb-run nodejs index.js
@ajhsu
Copy link

ajhsu commented Jul 22, 2016

This solved my problem! Thanks!

@andrewrod33
Copy link

This helped me as well. I had to change nodejs to node though. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment