node.js - Amazon Alexa Lambda Unexpected Token ILLEGAL -


i have looked @ other similar questions , error caused missing '+' sign when 1 adding on text text variable or when 1 has sort of weird characters. suggestions how spot mine? error here:

code in node.js

{   "errormessage": "unexpected token illegal",   "errortype": "syntaxerror",   "stacktrace": [     "module._compile (module.js:373:25)",     "object.module._extensions..js (module.js:416:10)",     "module.load (module.js:343:32)",     "function.module._load (module.js:300:12)",     "module.require (module.js:353:17)",     "require (internal/module.js:12:17)",     "object.<anonymous> (/var/task/index.js:9:14)",     "module._compile (module.js:409:26)",     "object.module._extensions..js (module.js:416:10)"   ] } 

in cloudwatch:

syntax error in module 'index': syntaxerror

at exports.runinthiscontext (vm.js:53:16) @ module._compile (module.js:373:25) @ object.module._extensions..js (module.js:416:10) @ module.load (module.js:343:32) @ function.module._load (module.js:300:12) @ module.require (module.js:353:17) @ require (internal/module.js:12:17) @ object.<anonymous> (/var/task/index.js:8:14) @ module._compile (module.js:409:26) @ object.module._extensions..js (module.js:416:10) 

it due ' character after function initialization. so:

function formatcompletedcertification(certification) { ´ [function here] }


Comments

Popular posts from this blog

python - Selenium remoteWebDriver (& SauceLabs) Firefox moseMoveTo action exception -

html - How to custom Bootstrap grid height? -

transpose - Maple isnt executing function but prints function term -