uncaught exception on MM 2.3.1
Opened this issue · 0 comments
Hi there
MM2 tells me this:
Whoops! There was an uncaught exception...
{ Error: EINVAL: invalid argument, write
at Object.fs.writeSync (fs.js:675:3)
at Object.fs.writeFileSync (fs.js:1285:24)
at new Gpio (/root/MagicMirror/modules/MMM-PIR-Sensor/node_modules/onoff/onoff.js:28:10)
at Class.socketNotificationReceived (/root/MagicMirror/modules/MMM-PIR-Sensor/node_helper.js:52:18)
at Socket. (/root/MagicMirror/modules/node_modules/node_helper/index.js:113:11)
at Socket.emit (events.js:182:13)
at /root/MagicMirror/node_modules/socket.io/lib/socket.js:513:12
at process._tickCallback (internal/process/next_tick.js:172:11) errno: -22, syscall: 'write', code: 'EINVAL' }
MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
I am completely new to node, npm etc. so I do not have any clue what I should provide you to fix this bug. I am not even sure if it is a bug... Thanks for assisting me.
node -v
: v10.0.0
uname -a
: Linux homeautomation 4.13.0-37-generic #42-Ubuntu SMP Wed Mar 7 14:13:23 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
complete output of node serveronly
:
Starting MagicMirror: v2.3.1
Loading config ...
Loading module helpers ...
No helper found for module: MMM-SwissCommute.
Initializing new module helper ...
Module helper loaded: MMM-PIR-Sensor
No helper found for module: alert.
Initializing new module helper ...
Module helper loaded: updatenotification
No helper found for module: clock.
Initializing new module helper ...
Module helper loaded: newsfeed
All module helpers loaded.
Starting server on port 1843 ...
Server started ...
Connecting socket for: MMM-PIR-Sensor
Connecting socket for: updatenotification
Connecting socket for: newsfeed
Starting module: newsfeed
Sockets connected & modules started ...Ready to go! Please point your browser to: http://0.0.0.0:1843
Whoops! There was an uncaught exception...
{ Error: EINVAL: invalid argument, write
at Object.fs.writeSync (fs.js:675:3)
at Object.fs.writeFileSync (fs.js:1285:24)
at new Gpio (/root/MagicMirror/modules/MMM-PIR-Sensor/node_modules/onoff/onoff.js:28:10)
at Class.socketNotificationReceived (/root/MagicMirror/modules/MMM-PIR-Sensor/node_helper.js:52:18)
at Socket. (/root/MagicMirror/modules/node_modules/node_helper/index.js:113:11)
at Socket.emit (events.js:182:13)
at /root/MagicMirror/node_modules/socket.io/lib/socket.js:513:12
at process._tickCallback (internal/process/next_tick.js:172:11) errno: -22, syscall: 'write', code: 'EINVAL' }
MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
Create new news fetcher for url: https://www.heise.de/security/rss/news-atom.xml - Interval: 300000