Closed meyer9 closed 7 years ago
This library is just a bundling format for ordinary JS modules that can be represented as strings. If you want to be able to import binary .node
files, you need to define an options.fallback
function.
The function should take three arguments:
If successful, the options.fallback
function should return whatever require(id)
would return in native Node.
https://github.com/nodejs/nan
Seems to be a problem with this:
https://github.com/benjamn/install/blob/master/install.js#L6