ok.. @bjrmatos Thanks for all your help so far.
I am trying to move to the latest 2.2.0.. and while it works local (meaning no error finding the abs helper) it seems to not find the helper when we deploy to bitbucket. And since I can't run it local I can't exactly test it..
so wonder if you can tel me what would need to change to enable 2.2.0?
here is my report loading
const jsreport = require('jsreport')({
tasks: {
allowedModules: '*',
strategy: 'in-process'
},
loadConfig: false,
logger: {
file: { enabled: false},
silent: true
},
studio: { enabled: false },
allowLocalFilesAccess: true,
dataDirectory: path.join(os.tmpdir(), 'jsreport'),
templatingEngines: { allowedModules: '*'},
});
and here is my package
"dependencies": {
"config": "^1.21.0",
"debug": "^3.0.1",
"handlebars": "4.0.11",
"handlebars-helpers": "0.10.0",
"handlebars-intl": "1.1.2",
"jsonwebtoken": "8.2.1",
"jsreport": "2.2.0",
"mongoose": "^4.13.17",
"npm": "^6.4.1",
"upgrade": "1.1.0",
"uuid": "^3.1.0"
},
Off the top of your head do you know what I need to do to enable 2.2.0? You had mentioned I did 'not' need to do certain things when using 1.10.. but I assume I need to do something to get 2.2.0 to work?
any suggestions.
again all I did was move to 2.2.0 and on bitbucket it says can't find the 'abs'. helper. same issue we had earlier.