I'm trying to use the library with bun (with electrobun) and when start it returns this error
[electrobun dev --watch] Initial build failed: 6 | const addon = require('../../build/Release/smartcard_napi.node');
^
error: Could not resolve: "../../build/Release/smartcard_napi.node"
at /Users/andrea/workspace/niko-tv-bun/node_modules/smartcard/dist/lib/index.js:6:23
I checked the code and actually it try to require that file that it's not present in the codebase.
How the addon are supposed to work?
I'm trying to use the library with
bun(withelectrobun) and when start it returns this errorI checked the code and actually it try to require that file that it's not present in the codebase.
How the addon are supposed to work?