Last active
December 22, 2018 01:27
-
-
Save dwickstrom/c29b32a0403ed1b570b4 to your computer and use it in GitHub Desktop.
NightmareJS - install Electron on Ubuntu 14.04
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
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
This solved my problem! Thanks!