SyntaxError: Unexpected token '=' while compiling ejs If the above error is not helpful, you may want to try EJS-Lint: https://github.com/RyanZim/EJS-Lint Or, if you meant to create an async function, pass `async: true` as an option. at new Function () at Template.compile (/root/webmaker/node_modules/ejs/lib/ejs.js:652:12) at Object.compile (/root/webmaker/node_modules/ejs/lib/ejs.js:392:16) at handleCache (/root/webmaker/node_modules/ejs/lib/ejs.js:215:18) at exports.render (/root/webmaker/node_modules/ejs/lib/ejs.js:419:10) at /root/webmaker/templates/root.js:297:40 at /root/webmaker/common/mtTemplate.js:697:8 at /root/webmaker/common/mtTemplate.js:689:9 at /root/webmaker/node_modules/async/dist/async.js:1143:9 at /root/webmaker/node_modules/async/dist/async.js:473:16