ts-node can't resolve .node file #1926
Unanswered
GuoxiongZhang
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I used N-API to generate the c++ call package example.node.
const {setPrinter}=require(./example.node) can work with node, but it can't work with ts-node.
Beta Was this translation helpful? Give feedback.
All reactions