shockpastS
Denoβ€’3y agoβ€’
3 replies
shockpast

Deno does not recognize ".node" extension files

[name].node is C++ (kind of) addons compiled for using in Node.JS (as i get it)

It just doesn't allow to run any code with it, since downloading
npm:rosu-pp@0.9.4
with Deno, downloads everything EXCEPT
index.node
, but... default
npm install rosu-pp
does it, and runs very well, is there something I could do about it?

Reproducing problem can be done with this
TypeScript + Deno
chapter in this paste

I tried to run it with different(?) compilers, tsx, node and deno.
- Output

Trying to generate
index.node
by yourself doesn't help either, it throws an error
require() is not defined
πŸ₯Ί
Pastebin
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Pastebin
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Was this page helpful?