That did work. Thank you for your help!
I don’t understand why it didn’t work suddenly but maybe build-essential got deleted while upgrading the mirror according to your guide.
Anyway, thank you for your modules and support. I’m looking into your other modules and will donate for your work!
D
Best posts made by derferd1
-
RE: EXT-Pir Error during install
Latest posts made by derferd1
-
RE: EXT-Pir Error during install
That did work. Thank you for your help!
I don’t understand why it didn’t work suddenly but maybe build-essential got deleted while upgrading the mirror according to your guide.
Anyway, thank you for your modules and support. I’m looking into your other modules and will donate for your work! -
RE: EXT-Pir Error during install
npm WARN deprecated @npmcli/move-file@2.0.1: This functionality has been moved to @npmcli/fs added 232 packages, and audited 233 packages in 2m 39 packages are looking for funding run `npm fund` for details found 0 vulnerabilities npm ERR! code 1 npm ERR! path /home/pi/MagicMirror/modules/EXT-Pir/node_modules/epoll npm ERR! command failed npm ERR! command sh -c node-gyp rebuild npm ERR! make: Verzeichnis „/home/pi/MagicMirror/modules/EXT-Pir/node_modules/epoll/build“ wird betreten npm ERR! CXX(target) Release/obj.target/epoll/src/epoll.o npm ERR! make: Verzeichnis „/home/pi/MagicMirror/modules/EXT-Pir/node_modules/epoll/build“ wird verlassen npm ERR! gyp info it worked if it ends with ok npm ERR! gyp info using node-gyp@9.3.1 npm ERR! gyp info using node@16.19.1 | linux | arm npm ERR! gyp info find Python using Python version 3.9.2 found at "/usr/bin/python3" npm ERR! gyp info spawn /usr/bin/python3 npm ERR! gyp info spawn args [ npm ERR! gyp info spawn args '/home/pi/MagicMirror/modules/EXT-Pir/node_modules/node-gyp/gyp/gyp_main.py', npm ERR! gyp info spawn args 'binding.gyp', npm ERR! gyp info spawn args '-f', npm ERR! gyp info spawn args 'make', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/home/pi/MagicMirror/modules/EXT-Pir/node_modules/epoll/build/config.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/home/pi/MagicMirror/modules/EXT-Pir/node_modules/node-gyp/addon.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/home/pi/.cache/node-gyp/16.19.1/include/node/common.gypi', npm ERR! gyp info spawn args '-Dlibrary=shared_library', npm ERR! gyp info spawn args '-Dvisibility=default', npm ERR! gyp info spawn args '-Dnode_root_dir=/home/pi/.cache/node-gyp/16.19.1', npm ERR! gyp info spawn args '-Dnode_gyp_dir=/home/pi/MagicMirror/modules/EXT-Pir/node_modules/node-gyp', npm ERR! gyp info spawn args '-Dnode_lib_file=/home/pi/.cache/node-gyp/16.19.1/<(target_arch)/node.lib', npm ERR! gyp info spawn args '-Dmodule_root_dir=/home/pi/MagicMirror/modules/EXT-Pir/node_modules/epoll', npm ERR! gyp info spawn args '-Dnode_engine=v8', npm ERR! gyp info spawn args '--depth=.', npm ERR! gyp info spawn args '--no-parallel', npm ERR! gyp info spawn args '--generator-output', npm ERR! gyp info spawn args 'build', npm ERR! gyp info spawn args '-Goutput_dir=.' npm ERR! gyp info spawn args ] npm ERR! gyp info spawn make npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ] npm ERR! make: g++: Datei oder Verzeichnis nicht gefunden npm ERR! make: *** [epoll.target.mk:115: Release/obj.target/epoll/src/epoll.o] Fehler 127 npm ERR! gyp ERR! build error npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2 npm ERR! gyp ERR! stack at ChildProcess.onExit (/home/pi/MagicMirror/modules/EXT-Pir/node_modules/node-gyp/lib/build.js:203:23) npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:513:28) npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:293:12) npm ERR! gyp ERR! System Linux 6.1.19-v7+ npm ERR! gyp ERR! command "/usr/bin/node" "/home/pi/MagicMirror/modules/EXT-Pir/node_modules/.bin/node-gyp" "rebuild" npm ERR! gyp ERR! cwd /home/pi/MagicMirror/modules/EXT-Pir/node_modules/epoll npm ERR! gyp ERR! node -v v16.19.1 npm ERR! gyp ERR! node-gyp -v v9.3.1 npm ERR! gyp ERR! not ok npm ERR! A complete log of this run can be found in: /home/pi/.npm/_logs/2023-04-03T21_05_49_866Z-debug-0.log
-
RE: EXT-Pir Error during install
Thank you for your reply.
Here’s the output:Linux raspberrypi 6.1.19-v7+ #1637 SMP Tue Mar 14 11:04:52 GMT 2023 armv7l GNU/Linu
-
EXT-Pir Error during install
Hey all,
with the most recent updates I had to upgrade my Magicmirror from buster to bullseye because EXT-Screen and EXT-Pir wouldn’t update otherwise.
Now I’m getting errors during installation.
I’m using node v16.19.1 and npm v9.6.3. It worked with those beforehand.This is the error:
Reinstalling EXT-Pir... npm WARN deprecated @npmcli/move-file@2.0.1: This functionality has been moved to @npmcli/fs npm ERR! code 1 npm ERR! path /home/pi/MagicMirror/modules/EXT-Pir/node_modules/epoll npm ERR! command failed npm ERR! command sh -c node-gyp rebuild npm ERR! make: Verzeichnis „/home/pi/MagicMirror/modules/EXT-Pir/node_modules/epoll/build“ wird betreten npm ERR! CXX(target) Release/obj.target/epoll/src/epoll.o npm ERR! make: Verzeichnis „/home/pi/MagicMirror/modules/EXT-Pir/node_modules/epoll/build“ wird verlassen npm ERR! gyp info it worked if it ends with ok npm ERR! gyp info using node-gyp@9.3.1 npm ERR! gyp info using node@16.19.1 | linux | arm npm ERR! gyp info find Python using Python version 3.9.2 found at "/usr/bin/python3" npm ERR! gyp info spawn /usr/bin/python3 npm ERR! gyp info spawn args [ npm ERR! gyp info spawn args '/home/pi/MagicMirror/modules/EXT-Pir/node_modules/node-gyp/gyp/gyp_main.py', npm ERR! gyp info spawn args 'binding.gyp', npm ERR! gyp info spawn args '-f', npm ERR! gyp info spawn args 'make', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/home/pi/MagicMirror/modules/EXT-Pir/node_modules/epoll/build/config.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/home/pi/MagicMirror/modules/EXT-Pir/node_modules/node-gyp/addon.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/home/pi/.cache/node-gyp/16.19.1/include/node/common.gypi', npm ERR! gyp info spawn args '-Dlibrary=shared_library', npm ERR! gyp info spawn args '-Dvisibility=default', npm ERR! gyp info spawn args '-Dnode_root_dir=/home/pi/.cache/node-gyp/16.19.1', npm ERR! gyp info spawn args '-Dnode_gyp_dir=/home/pi/MagicMirror/modules/EXT-Pir/node_modules/node-gyp', npm ERR! gyp info spawn args '-Dnode_lib_file=/home/pi/.cache/node-gyp/16.19.1/<(target_arch)/node.lib', npm ERR! gyp info spawn args '-Dmodule_root_dir=/home/pi/MagicMirror/modules/EXT-Pir/node_modules/epoll', npm ERR! gyp info spawn args '-Dnode_engine=v8', npm ERR! gyp info spawn args '--depth=.', npm ERR! gyp info spawn args '--no-parallel', npm ERR! gyp info spawn args '--generator-output', npm ERR! gyp info spawn args 'build', npm ERR! gyp info spawn args '-Goutput_dir=.' npm ERR! gyp info spawn args ] npm ERR! gyp info spawn make npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ] npm ERR! make: g++: Datei oder Verzeichnis nicht gefunden npm ERR! make: *** [epoll.target.mk:115: Release/obj.target/epoll/src/epoll.o] Fehler 127 npm ERR! gyp ERR! build error npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2 npm ERR! gyp ERR! stack at ChildProcess.onExit (/home/pi/MagicMirror/modules/EXT-Pir/node_modules/node-gyp/lib/build.js:203:23) npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:513:28) npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:293:12) npm ERR! gyp ERR! System Linux 6.1.19-v7+ npm ERR! gyp ERR! command "/usr/bin/node" "/home/pi/MagicMirror/modules/EXT-Pir/node_modules/.bin/node-gyp" "rebuild" npm ERR! gyp ERR! cwd /home/pi/MagicMirror/modules/EXT-Pir/node_modules/epoll npm ERR! gyp ERR! node -v v16.19.1 npm ERR! gyp ERR! node-gyp -v v9.3.1 npm ERR! gyp ERR! not ok npm ERR! A complete log of this run can be found in: /home/pi/.npm/_logs/2023-04-03T18_16_38_889Z-debug-0.log