Karim Fayed
unread,Sep 20, 2023, 11:13:46 AM9/20/23Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to JSTS devs
I have all my dependencies uploaded to a Lamda layer, but when it came to JSTS Iambda is always unable to find the module.
Here is the error that keeps on popping:
"errorType": "Runtime.ImportModuleError",
"errorMessage": "Error: Cannot find module 'jsts'\nRequire stack:\n- /var/task/validators.js\n- /var/task/utils.js\n- /var/task/getFeature.js\n- /var/task/index.js\n- /var/runtime/index.mjs",
"stack": [
"Runtime.ImportModuleError: Error: Cannot find module 'jsts'",
"Require stack:",
"- /var/task/validators.js",
"- /var/task/utils.js",
"- /var/task/getFeature.js",
"- /var/task/index.js",
"- /var/runtime/index.mjs",
" at _loadUserApp (file:///var/runtime/index.mjs:1061:17)",
" at async UserFunction.js.module.exports.load (file:///var/runtime/index.mjs:1093:21)",
" at async start (file:///var/runtime/index.mjs:1256:23)",
" at async file:///var/runtime/index.mjs:1262:1"
]
}
Is there a reason this?