Skip to content

Instantly share code, notes, and snippets.

@noopkat
Last active November 7, 2015 17:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save noopkat/c450d24c044335136272 to your computer and use it in GitHub Desktop.
Save noopkat/c450d24c044335136272 to your computer and use it in GitHub Desktop.
rebuild serialport for nw.js
npm install serialport
npm install -g node-pre-gyp
NW_VERSION='0.12.3'
cd node_modules/serialport
node-pre-gyp configure --runtime=node-webkit --target=$NW_VERSION
node-pre-gyp build --runtime=node-webkit --target=$NW_VERSION
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment