August-22nd-2018, 03:06 PM
(August-22nd-2018, 02:38 PM)paubau Wrote: ... i wrote "..{evils:require('evilscan')}" as i knew the first term is only a variable name lol.
I looked to my Node-RED at home how I include several modules and it looked like the following:
functionGlobalContext: {
suncalc:require('suncalc'),
debug:require('debug')('MyApp'),
sonos:require('sonos'),
os:require('os'),
octalbonescript:require('octalbonescript'),
jfive:require("johnny-five"),
j5board:require("johnny-five").Board({repl:false})
}
But anyway it works now. I am glad
„You never fail until you stop trying.“, Albert Einstein (1879 - 1955)