mMusicCast icon indicating copy to clipboard operation
mMusicCast copied to clipboard

failed to install on raspberry pi raspbian stretch 4.4

Open kiai72 opened this issue 6 years ago • 1 comments

(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

[email protected] 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! [email protected] start: electron . npm ERR! spawn ENOENT npm ERR! npm ERR! Failed at the [email protected] 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 $

kiai72 avatar Jan 18 '19 09:01 kiai72

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

vbaicu avatar Mar 14 '19 22:03 vbaicu