MMM-PIR
MMM-PIR copied to clipboard
MM can't run with this module: ERR!
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! [email protected] start: sh run-start.sh "dev"
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.
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"] } },
the same for me
any update? I have this issue as well