node-clr
node-clr copied to clipboard
Native module for Electron / NW
In response to an email from @AtsushiSuzuki
The module seems to need to be recompiled when using Electron or NW.js (previously Node webkit).
When trying to require clr doing
require('clr')
you get an error message that you can see in the attached screenshot. I did not look into compiling native modules like Atsushi suggested. In stead I would like to know if it is possible to p(re)compile CLR so that I can require it from either Node or the Chromium implementations I just mentioned.
If this means that clr has to be compiled for every possible platform then that is fine. I just want to be able to ship it without the user compiling.
Other than that, thank you Sushi for this very useful module.
.
I tried electron. By following the instruction, I confirmed that clr works on electron environment.
If you need to distribute pre-compiled module, you can try node-pre-gyp. It seems to support electron.
Thanks.