Hi Jan,
Thanks for the quick reply.
After more digging, it appears that my modules are found but not formatted as you expect.
Actually, this is not working :
'use strict';
const _createAccess1 = require('module1');
const _createAccess2 = require("module2");
const _createAccess3 = require('module3');
const _config = require("config");
const _mongoose = require('mongoose');
module.exports = function () {
...
}
but this is working :
'use strict';
module.exports = function () {
const _createAccess1 = require('module1');
const _createAccess2 = require("module2");
const _createAccess3 = require('module3');
const _config = require("config");
const _mongoose = require('mongoose');
....
}