Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not install serialport dependency on Node.js v6.3.1 #12

Open
Cabalbl4 opened this issue Aug 12, 2016 · 0 comments
Open

Can not install serialport dependency on Node.js v6.3.1 #12

Cabalbl4 opened this issue Aug 12, 2016 · 0 comments

Comments

@Cabalbl4
Copy link

Cabalbl4 commented Aug 12, 2016

npm ERR! Linux 3.13.0-92-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "--save" "--verbose" "pololu-maestro"
npm ERR! node v6.3.1
npm ERR! npm v3.10.3
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: node-pre-gyp install --fallback-to-build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-pre-gyp install --fallback-to-build'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the serialport package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-pre-gyp install --fallback-to-build
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs serialport
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls serialport
npm ERR! There is likely additional logging output above.
npm verb exit [ 1, true ]

This problem seems to be fixed by changing the version of serialport in package.json to current ("*"). It seems that the older serialport version is not compatible with current version of node anymore (compilation of native modules fails with lot of errors in nan.h)

Please consider a dependency upgrade :)
npm-debug.log.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant