MMM-PIR icon indicating copy to clipboard operation
MMM-PIR copied to clipboard

MM can't run with this module: ERR!

Open solomon-il opened this issue 5 years ago • 2 comments

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"] } },

solomon-il avatar Aug 30 '19 15:08 solomon-il

the same for me

sergge1 avatar Nov 06 '19 14:11 sergge1

any update? I have this issue as well

xplod609 avatar May 07 '20 04:05 xplod609