Apparently Debian decided it was a good idea to rename node to nodejs. This causes problems with the current include-voodoo.
"include_dirs" : [
"<!(node -e \"require('nan')\")"
]
serialport/node-serialport#301
Based on crypto-utils/keygrip#7, it seems a possible fix is something like
"[ -x /usr/bin/nodejs ] && /usr/bin/nodejs ./install.js || node ./install.js"
But, I suspect that will not work with Windows. So, how to make a cross-platform solution?
Apparently Debian decided it was a good idea to rename node to nodejs. This causes problems with the current include-voodoo.
serialport/node-serialport#301
Based on crypto-utils/keygrip#7, it seems a possible fix is something like
But, I suspect that will not work with Windows. So, how to make a cross-platform solution?