Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failed to install on raspberry pi raspbian stretch 4.4 #9

Open
kiai72 opened this issue Jan 18, 2019 · 1 comment
Open

failed to install on raspberry pi raspbian stretch 4.4 #9

kiai72 opened this issue Jan 18, 2019 · 1 comment

Comments

@kiai72
Copy link

kiai72 commented Jan 18, 2019

(edited version):

after installing the latest npm version i was able to "npm install" it.
but when i "npm start" i get this error (see further below).

so i assume i need raspbian DESKTOP / x11 to make this work ? is there no other option (without DESKTOP/x11) ?

pi@retropie:~/mmusiccast $ npm start

mMusicCast@1.1.0 start /home/pi/mmusiccast
electron .

/home/pi/mmusiccast/node_modules/electron/dist/electron: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! mMusicCast@1.1.0 start: electron .
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the mMusicCast@1.1.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2019-01-18T10_00_38_713Z-debug.log
pi@retropie:~/mmusiccast $

@vbaicu
Copy link
Owner

vbaicu commented Mar 14, 2019

Hi,
Yes, you need the x11 in order to run it. Application runs with electron which requires it. If you attempt to run it via ssh it won't work unless you export the display variable first.

export DISPLAY:=0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants