Closed EugeneHerasymchuk closed 6 years ago
During npm i audio I've got an error
npm i audio
> speaker@0.3.1 install /home/yevhenii/Documents/node/audio-howler/node_modules/speaker > node-gyp rebuild make: Entering directory '/home/yevhenii/Documents/node/audio-howler/node_modules/speaker/build' CC(target) Release/obj.target/output/deps/mpg123/src/output/alsa.o ../deps/mpg123/src/output/alsa.c:19:28: fatal error: alsa/asoundlib.h: No such file or directory compilation terminated. deps/mpg123/output.target.mk:110: recipe for target 'Release/obj.target/output/deps/mpg123/src/output/alsa.o' failed make: *** [Release/obj.target/output/deps/mpg123/src/output/alsa.o] Error 1 make: Leaving directory '/home/yevhenii/Documents/node/audio-howler/node_modules/speaker/build'
The purpose is to use audio in browser environment in Vue.js project
audio
Solved installing sudo apt-get install libasound2-dev
sudo apt-get install libasound2-dev
During
npm i audio
I've got an errorThe purpose is to use
audio
in browser environment in Vue.js project