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

Cannot Install using "npm install player" #67

Open
noumantahir opened this issue Oct 7, 2016 · 2 comments
Open

Cannot Install using "npm install player" #67

noumantahir opened this issue Oct 7, 2016 · 2 comments

Comments

@noumantahir
Copy link

I am trying to install this package on my system but I am getting issues

npm ERR! Linux 4.4.0-41-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "player"
npm ERR! node v4.5.0
npm ERR! npm  v2.15.9
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the speaker package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs speaker
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! 
npm ERR!     npm owner ls speaker
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/nomo/workspace/node-js-getting-started/npm-debug.log

my node version is -

v4.5.0

@michaelborn
Copy link

@noumantahir I had this issue and realized it was because I had node-speaker still installed (but not referenced from my main package.json).

Run npm uninstall speaker and try installing player again, npm install player.

@bfncs
Copy link

bfncs commented Nov 4, 2017

For me this was fixed by installing the ALSA sources

sudo apt-get install libasound2-dev

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

3 participants