Using with \auth\email-password - can't compile



I need help.

Compilation failed: Unexpected reserved word
Unexpected reserved word
SyntaxError: Unexpected reserved word
at Object.exports.runInThisContext (vm.js:53:16)
at WebtaskModule.compileWebtask (/data/sandbox/lib/module.js:91:32)
at Object.defaultJavascriptCompiler [as nodejsCompiler] (/data/sandbox/lib/compiler.js:124:30)
at module.exports.options.nodejsCompiler.fnCallback (/data/io/290a9f58b9f24801b19f780b513d3a48/webtask.js:5:11)
at /data/sandbox/lib/compiler.js:236:17
at /data/sandbox/node_modules/async/dist/async.js:3853:24
at replenish (/data/sandbox/node_modules/async/dist/async.js:946:17)
at iterateeCallback (/data/sandbox/node_modules/async/dist/async.js:931:17)
at /data/sandbox/node_modules/async/dist/async.js:906:16
at /data/sandbox/node_modules/async/dist/async.js:3858:clock1130:

I get error message. Please advise.


It seems you are using these functions in a legacy project. Is that correct? If so, these templates are incompatible with legacy projects, and meant for use in CLI projects.


Can you provide more context? It’s not clear how your setup looks like and what you do that results in this error message :slightly_smiling_face: