error during instalation
-
i get this error when i try install EXT-Raspotify```
npm ERR! code ELIFECYCLE
npm ERR! errno 255
npm ERR! EXT-Raspotify@1.0.0 preinstall: installer/preinstall.sh
npm ERR! Exit status 255
npm ERR!
npm ERR! Failed at the EXT-Raspotify@1.0.0 preinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?npm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2022-03-30T15_05_12_720Z-debug.log -
and so ?
What the main log ? … this final result don’t says anything
-
This post is deleted! -
@bugsounet ```
pi@raspberrypi:~/MagicMirror/modules/EXT-Raspotify $ npm installEXT-Raspotify@1.0.0 preinstall /home/pi/MagicMirror/modules/EXT-Raspotify
installer/preinstall.shWelcome to EXT-Raspotify v1.0.0
No root checking…
Checking EXT-Raspotify: pi/pi
Checking MagicMirror: pi/piChecking OS…
OS Detected: linux-gnueabihf (raspbian 10 armv7l)Installing Raspotify…
Open the fridge and take a beer…
And keep cool…Unmet minimum required package version(s):
libc6 >= 2.31 is required but 2.28-10+rpt2+rpi1 is installed.
systemd >= 247.3 is required but 241-7~deb10u8+rpi1 is installed.
libasound2 >= 1.2.4 is required but 1.1.8-1+rpt2 is installed.
alsa-utils >= 1.2.4 is required but 1.1.8-2+rpt1 is installed.
libpulse0 >= 14.2 is required but 12.2-4+deb10u1+rpi3 is installed.Please make sure you are running a compatible armhf (ARMv7), arm64, or amd64 Debian based OS.
Error detected !
npm ERR! code ELIFECYCLE
npm ERR! errno 255
npm ERR! EXT-Raspotify@1.0.0 preinstall:installer/preinstall.sh
npm ERR! Exit status 255
npm ERR!
npm ERR! Failed at the EXT-Raspotify@1.0.0 preinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?npm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2022-03-30T16_39_56_018Z-debug.log -
So …
Unmet minimum required package version(s): libc6 >= 2.31 is required but 2.28-10+rpt2+rpi1 is installed. systemd >= 247.3 is required but 241-7~deb10u8+rpi1 is installed. libasound2 >= 1.2.4 is required but 1.1.8-1+rpt2 is installed. alsa-utils >= 1.2.4 is required but 1.1.8-2+rpt1 is installed. libpulse0 >= 14.2 is required but 12.2-4+deb10u1+rpi3 is installed. Please make sure you are running a compatible armhf (ARMv7), arm64, or amd64 Debian based OS.
What does it means ?
just update your pi
-
@bugsounet thank you a lot
-
@bugsounet i try to update and upgrade but versions stayed same
-
what command do you use to update your pi (os) ?
-
sudo apt-get update and then sudo apt -get upgrade but versions are the same
-
past me result of
sudo apt-get update
and aftersudo apt-get upgrade
-
@bugsounet ```
pi@raspberrypi:~ $ sudo apt-get update
Hit:1 http://archive.raspberrypi.org/debian buster InRelease
Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
Hit:3 https://deb.nodesource.com/node_17.x buster InRelease
Reading package lists… Done
pi@raspberrypi:~ $ sudo apt-get upgrade
Reading package lists… Done
Building dependency tree
Reading state information… Done
Calculating upgrade… Done
The following packages were automatically installed and are no longer required:
gyp libc-ares2 libjs-inherits libjs-is-typedarray libssl-dev libuv1
libuv1-dev python-colorzero
Use ‘sudo apt autoremove’ to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
pi@raspberrypi:~ $ -
sudo apt autoremove && sudo reboot now
-
@bugsounet and then do it again??
-
Pre-require of MMM-GoogleAssistant familly is bulleyes (raspbian 11)
dtcooper (creator of Raspotify app) says :
So ? what can i Do ? for
EXT-Raspotify
nothingAfter when i see this:
Hit:3 https://deb.nodesource.com/node_17.x buster InRelease
I lost my time
why ?- bulleyes is needed (you use buster)
- node v14 is needed (you use v17)
- So npm version is not good too !
You really search problem, that why you have issue, you don’t want to follow wiki…
try EXT-Librespot … maybe it’s working…
I’m kind but … I lost my time
-
@bugsounet sorry for wasting your time really appreciate your work
-
@bugsounet here is another beer from me and sorry again
-
You can see my spec and my modules used on my prod Mirror
And All works in harmony since … 44 days
So just apply Rules
-
-
And … Spotify music playing with
EXT-Raspotify
withEXT-Spotify
for song visual displaying andMMM-GoogleAssistant
for vocal control -
@bugsounet okay i will try to start everything from blank page with raspberian 11 thank you so much and once again sorry to wasting your time you are best