sentencex
sentencex copied to clipboard
The js binding isnt working on my mac.
Mac intel. I keep getting this error everytime i try to use the code. I have tried deleting my node modules and re-installing but it didnt fix it. package version: 1.0.9
Error: dlopen(.../node_modules/sentencex/index.node, 0x0001): tried: '.../node_modules/sentencex/index.node' (not a mach-o file)
at Module._extensions..node (node:internal/modules/cjs/loader:1717:18)
at Module.load (node:internal/modules/cjs/loader:1317:32)
at Module._load (node:internal/modules/cjs/loader:1127:12)
at TracingChannel.traceSync (node:diagnostics_channel:315:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:217:24)
at Module.require (node:internal/modules/cjs/loader:1339:12)
at require (node:internal/modules/helpers:135:16)
at file:///.../node_modules/sentencex/index.mjs:7:15
at ModuleJob.run (node:internal/modules/esm/module_job:262:25)
at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:482:26) {
code: 'ERR_DLOPEN_FAILED'
}
Thanks for reporting. I guess I need to prepare platform specific builds for that index.node. The one I published in npm is based on Linux build. Need to setup CI for this.
Platform specific builds were done in pull request #26 . Not published in npm yet