olado/doT

Template compiling error

kitani opened this issue · 0 comments

Hi everyone!
I've inherited this really old project that uses doT and after updating packages I'm getting this error on any template:

error: 'SyntaxError: missing ) after argument list\n' +
    '    at new Function (<anonymous>)\n' +
    '    at Object.doT.template (/opt/app/affiliatesplatform/live/node_modules/dot/doT.js:133:11)\n' +

Unfortunately package.json and package-lock.json with working versions are not available anymore.

Given that template code wasn't changed - what could the problem be?