-
Notifications
You must be signed in to change notification settings - Fork 78
Open
Description
Sorry if this is a novice question but I have this error when trying to use tree-sitter-kotlin on AWS lambda
I'm new to NodeJs
{
"errorType": "Error",
"errorMessage": "/var/task/node_modules/tree-sitter-kotlin/build/Release/tree_sitter_kotlin_binding.node: invalid ELF header",
"code": "ERR_DLOPEN_FAILED",
"stack": [
"Error: /var/task/node_modules/tree-sitter-kotlin/build/Release/tree_sitter_kotlin_binding.node: invalid ELF header",
" at Object..node (node:internal/modules/cjs/loader:1732:18)",
" at Module.load (node:internal/modules/cjs/loader:1289:32)",
" at Function._load (node:internal/modules/cjs/loader:1108:12)",
" at TracingChannel.traceSync (node:diagnostics_channel:322:14)",
" at wrapModuleLoad (node:internal/modules/cjs/loader:220:24)",
" at Module.require (node:internal/modules/cjs/loader:1311:12)",
" at require (node:internal/modules/helpers:136:16)",
" at load (/var/task/node_modules/node-gyp-build/node-gyp-build.js:22:10)",
" at Object.<anonymous> (/var/task/node_modules/tree-sitter-kotlin/bindings/node/index.js:3:43)",
" at Module._compile (node:internal/modules/cjs/loader:1554:14)"
]
}
version: 0.3.8
node version: 22:
platform: AWS lambda x64 architecture
Metadata
Metadata
Assignees
Labels
No labels