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
I get this error when I run the js example in the readme:
▶ node index.js
node:internal/modules/cjs/loader:1282
return process.dlopen(module, path.toNamespacedPath(filename));
^
Error: /home/mike/code/chidori-example/node_modules/@1kbirds/chidori/package_node/native/chidori.node: invalid ELF header
at Object.Module._extensions..node (node:internal/modules/cjs/loader:1282:18)
at Module.load (node:internal/modules/cjs/loader:1076:32)
at Function.Module._load (node:internal/modules/cjs/loader:911:12)
at Module.require (node:internal/modules/cjs/loader:1100:19)
at require (node:internal/modules/cjs/helpers:108:18)
at Object.<anonymous> (/home/mike/code/chidori-example/node_modules/@1kbirds/chidori/package_node/index.js:23:5)
at Module._compile (node:internal/modules/cjs/loader:1198:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10)
at Module.load (node:internal/modules/cjs/loader:1076:32)
at Function.Module._load (node:internal/modules/cjs/loader:911:12) {
code: 'ERR_DLOPEN_FAILED'
}
Happy to dig around if you prompt me with any details or hunches about this but initially it looks a bit intimidating.
The text was updated successfully, but these errors were encountered:
Having the same issue. FYI, I'm running Ubuntu linux on an Intel iMac. What is chidori.node?
@possibilities I did find that I was able to get this work by cloning the repo, building the NPM package, and installing that locally built version as opposed to installing the package from NPM.
I'm currently working on resolving issues with the current release process and this should be resolved soon!
That will include also moving the examples to depending on the most recent release instead of a local build and containerizing those so that they're easy to run (and act as validation of any future releases).
chidori.node is the native module produced by the rust build (and copied over via cargo-cp-artifact referred to in chidori/package.json
I get this error when I run the js example in the readme:
Happy to dig around if you prompt me with any details or hunches about this but initially it looks a bit intimidating.
The text was updated successfully, but these errors were encountered: