mboskamp / MMM-PIR

This MagicMirror module monitors a PIR sensor and turns on/off your display. You can even run custom scripts and control it via Telegram.
16 stars 6 forks source link

MM can't run with this module: ERR! #13

Open solomon-il opened 5 years ago

solomon-il commented 5 years ago

Hello, After fresh install of your module, set up the config file, and run 'npm start' have those errors from log:

/home/pi/MagicMirror/node_modules/electron/dist/electron js/electron.js dev: symbol lookup error: /home/pi/MagicMirror/modules/MMM-PIR/node_modules/epoll/build/Release/epoll.node: undefined symbol: _ZN2v816FunctionTemplate3NewEPNS_7IsolateEPFvRKNS_20FunctionCallbackInfoINS_5ValueEEEENS_5LocalIS4_EENSA_INS_9SignatureEEEiNS_19ConstructorBehaviorENS_14SideEffectTypeE npm ERR! file sh npm ERR! code ELIFECYCLE npm ERR! errno ENOENT npm ERR! syscall spawn npm ERR! magicmirror@2.8.0 start: sh run-start.sh "dev" npm ERR! spawn ENOENT npm ERR! npm ERR! Failed at the magicmirror@2.8.0 start script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

and my config file is: { module: 'MMM-PIR', position: 'bottom_center', config: { sensorPin: 23, delay: 1000 10 1, //1000 = 1 sec turnOffDisplay: true, showCountdown: true, callbackScripts: ["callback.py"] } },

sergge1 commented 4 years ago

the same for me

xplod609 commented 4 years ago

any update? I have this issue as well