segment-boneyard / nightmare

A high-level browser automation library.
https://open.segment.com
19.54k stars 1.08k forks source link

Unable to install Nightmare on Ubuntu 16.04 LTS #1589

Open pdisney opened 4 years ago

pdisney commented 4 years ago

While installing Nightmare on Ubuntu 16.04 LTS I am receiving an EACESS: permission denied error. It appears the issue is related and error occurring during the installation of the electron dependency /node_modules/electron/electron-tmp-download-115865-1579712746216. The electron install.js file is referenced in the error ( /node_modules/electron/install.js:54). Line 54 is a standard error function, however above on line 27 there is a mirror reference URL "mirror = https://github.com/electron/nightlies/releases/download/v" . This url does not appear to function any longer. The installation is currently working in the macos environment, but linux is not functional.

codebling commented 4 years ago

Have you tried removing your node_modules directory and reinstalling? Have you tried installing Electron by itself?