Lawrence, i will try this...
in settings.js add
functionGlobalContext: {
os:require('os'),
SunCalc:require('suncalc'),
request:require('request'),
xparseString:require('xml2js').parseString,
S:require('string'),
strftime:require('strftime'),
versao:"1.0.0.01"
}
after npm install ..... if necessary
and in your flow, must be use context.global, example context.global.os, context.global.fs, context.global.S
good luck.
ac