Ich bekommen beim Start des Z-Way Servers Fehlermeldungen bei Events
21:29 | Cannot instantiate module: LogicalRules: TypeError: undefined is not a function
Im Logfile steht folgendes:
Code: Select all
[2017-03-05 21:29:05.627] [I] [core] Instantiating module 184 from class LogicalRules
[2017-03-05 21:29:05.627] [I] [core] --- Starting module Logical Rule
[2017-03-05 21:29:05.661] [I] [core] (node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit. 11
[2017-03-05 21:29:05.669] [I] [core] Notification: error (core): Cannot instantiate module: LogicalRules: TypeError: undefined is not a function
[2017-03-05 21:29:05.706] [I] [core] TypeError: undefined is not a function
at EventEmitter.on [as addListener] (automation/lib/eventemitter2.js:392:29)
at _.extend.on (automation/classes/DevicesCollection.js:200:43)
at LogicalRules.attachDetach (automation/userModules/LogicalRules/index.js:119:37)
at automation/userModules/LogicalRules/index.js:43:18
at Array.forEach (native)
at LogicalRules.init (automation/userModules/LogicalRules/index.js:41:34)
at AutomationController.instantiateModule (automation/classes/AutomationController.js:420:22)
at AutomationController.<anonymous> (automation/classes/AutomationController.js:529:18)
at Array.forEach (native)
at AutomationController.loadModule (automation/classes/AutomationController.js:528:8)
Hat jemand eine Idee?
Prinzipiell funktioniert zwar alles, die Fehlermeldung finde ich aber irritierend.