Read the statement by Michael Teeuw here.
MMM-MP3Player
-
@Artech I have the same problem - while running npm install for dependencies I got the errors shown in screenshot - I suspect the install package needs updating.
-
@patrickirvin so what will you do? for me this module is important but i put it in stand by first i’ll look on it after
-
@patrickirvin the file needed is built locally on your machine…
but the stuff needed for the build is missing… do
sudo apt-get install libusb-1.0-0-dev sudo apt-get install libudev-dev
then close the terminal window, re-open
and then do the npm install again -
This post is deleted! -
@sdetweil itried t but what i got in my terminal when i use npm start is the same errors
-
@Artech ok, do this
cd ~ find /usr 2>/dev/null | grep libudev\.h
mine is in
/usr/include/libudev.h
after the two commands above
-
@sdetweil Thanks! That got me past the errors when installing dependencies. Now when using npm start the MM exits when it hit the MMM-MP3Player part of the config file. I will look into the logs further.
-
@sdetweil thank i guive you a feedback later
-
@patrickirvin that usually means there is some other dependency missing
-
i got the same errors for this module