aheuermann / docker-electron

Image for running headless electron
https://registry.hub.docker.com/u/aheuermann/electron/
MIT License
41 stars 6 forks source link

error while loading shared libraries: libnss3.so #1

Closed matthewmueller closed 8 years ago

matthewmueller commented 9 years ago

Hi there. I'm not sure of the state of this Dockerfile, but I'm running into the following error:

/usr/local/lib/node_modules/electron-prebuilt/dist/electron: error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory

While following the instructions here: https://github.com/maxogden/electron-spawn

Any ideas?

aheuermann commented 8 years ago

It looks like libnss3 was added as a dependency with electron 0.29.2. I updated the dockerfile and also added a basic readme with how I'm running my tests with xvfb. Hope it helps.

matthewmueller commented 8 years ago

<3