You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am facing similar issue when i try to run my app in dynamic env. The issue doesn't exist while running it locally.
Have you found any solution yet to this @mym0404?
⨯ Error: Error loading shared library /app/node_modules/tree-sitter/build/Release/tree_sitter_runtime_binding.node: Exec format error
at Module._extensions..node (node:internal/modules/cjs/loader:1460:18)
at Module.load (node:internal/modules/cjs/loader:1203:32)
at Module._load (node:internal/modules/cjs/loader:1019:12)
at Module.require (node:internal/modules/cjs/loader:1231:19)
at mod.require (/app/node_modules/next/dist/server/require-hook.js:65:28)
at require (node:internal/modules/helpers:177:18)
at Object. (/app/node_modules/tree-sitter/index.js:3:13)
at Module._compile (node:internal/modules/cjs/loader:1364:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
at Module.load (node:internal/modules/cjs/loader:1203:32) {
code: 'ERR_DLOPEN_FAILED'
}
Version:
4.9.0
I want to use this library in Next JS Server Side(router handler).
But loading wasm binding process seems to be broken.
Log says failed to find
build/Release/tree_sitter_bash_binding
.In my
node_modules
, the binding file exists like this.Is there any suggestion or is it bug really?
Also, I was understand Server Side(node js) env doesn't require any webpack wasm copy process. Isn't it?
My next.config.mjs
The text was updated successfully, but these errors were encountered: