Can Deno open a .node[compiled node addons] files? #28024
Unanswered
krishna-kush
asked this question in
Q&A
Replies: 1 comment
-
Can you update this to show how to reproduce the error? By the looks of it, I think maybe you need to run with |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
import nodeDataChannel = require('../../build/Release/node_datachannel.node');
This code from /~https://github.com/murat-dogan/node-datachannel/blob/master/src/lib/node-datachannel.ts,
gives this err in deno =>
Uncaught exception: TypeError: Expected a JavaScript or TypeScript module, but identified a Unknown module. Importing these types of modules is currently not supported.
Specifier: file:///home/kay/DATA/.Programming/WEB/Web-Jadugar/cloud/utils/RTC/node-datachannel/build/Release/node_datachannel.node
at file:///home/kay/DATA/.Programming/WEB/Web-Jadugar/cloud/utils/RTC/node-datachannel/src/lib/node-datachannel.ts:2:34 {
code: "ERR_MODULE_NOT_FOUND"
}
Beta Was this translation helpful? Give feedback.
All reactions