cmake-js / fastcall

fastcall - Fast, dyncall based foreign function interface library for Node.js
https://www.npmjs.com/package/fastcall
Other
202 stars 14 forks source link

npm install fails #50

Open puttehi opened 3 years ago

puttehi commented 3 years ago

Log is full of errors similar to no overloaded function takes 0 arguments for everything Nan and v8.

I imagine your C project doesn't include Nan?

konsumer commented 1 year ago

Yeh, I see this on mac (among many other errors):

npm ERR! node_modules/fastcall/deps/ref/src/binding.cc:7:10: fatal error: 'nan.h' file not found
npm ERR! #include "nan.h"

It fails to install.