Hi, I’m trying out your module.
I’m not running the Mirror with sudo, is there no other way to get your module to work?
I’m getting this:
{ Error: EACCES, Permission denied
at Error (native)
at /home/pi/MagicMirror/modules/MMM-Swipe/node_modules/mmm-gpio/lib/gpio.js:32:18
at ChildProcess.exithandler (child_process.js:209:7)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at maybeClose (internal/child_process.js:877:16)
at Socket. (internal/child_process.js:334:11)
at emitOne (events.js:96:13)
at Socket.emit (events.js:188:7)
at Pipe._handle.close [as _onclose] (net.js:493:12) errno: 13, code: 'EACCES', syscall: 'init' }
I’m guessing it have to do with the mirror not running as root…
the pi user is a member of the gpio group at least. :)
Thank you.
Best regards Snille