node.js - Running node-serialport in nw.js -
i trying run node-serialport in nw.js. after following nw.js documentation concerning native modules, node-serialport seems build fine, , runs in regular node process.
unfortunately, following error in nw.js console window:
{project_dir}\node_modules\serialport\node_modules\bindings\bindings.js:83 uncaught error: module version mismatch. expected 48, got 46.
how can run these together? missing obvious?
note i'm running:
- windows 7 x64
- node v4.4.4
- npm v2.4.1
- nw.js v0.15.0
- node-gyp v3.3.1
- serialport v3.1.2
apparently needed update current version of node (v6.2.0) instead of lts version (v4.4.4). after updating , rebuilding serialport, works perfectly!