Comments (5)
My initial reaction would be to say that this is an upstream error, but I'll try to help out.
Is taglib-config
in your PATH? check by running taglib-config
in your terminal you are running the app from.
from stretto.
Okay, since I had time on my hands, and I saw you were running debian 7, I decided I would download it, spin up a VM and try to reproduce your issue. And sure enough, I ran into your issue. The key problem is simply that debian 7 has an old version of taglib that doesn't work with node-taglib. To fix this I tried a few things and the easiest in the end was to uninstall taglib, recompile taglib from source and then link it so that it was in my path. Like so:
(as root)
$ apt-get remove libtag1-dev
# package gets removed
# clone taglib from source
$ git clone https://github.com/taglib/taglib.git
# makes a directory called taglib
$ cd taglib
# start compiling as per https://github.com/taglib/taglib/blob/master/INSTALL
$ cmake -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_BUILD_TYPE=Release .
$ make
# wait for it to compile
# install it
$ make install
# symlink it (it's not auto-installed to /usr/bin
$ ln -s /usr/local/bin/taglib-config /usr/bin/taglib-config
# now test it worked
$ taglib-config --version
# should show 1.9.1
Now run npm install
again and you should be good to go! :)
from stretto.
Damn, many thanks for taking time to help me... I did all you said but I'm still stucked with this error I already get :
node app.js
/home/gg/node-music-player/node_modules/taglib/node_modules/bindings/bindings.js:79
throw e
^
Error: /home/gg/node-music-player/node_modules/taglib/build/Release/taglib.node: undefined symbol: _ZN6TagLib8IOStreamD2Ev
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at bindings (/home/gg/node-music-player/node_modules/taglib/node_modules/bindings/bindings.js:74:15)
at Object.<anonymous> (/home/gg/node-music-player/node_modules/taglib/index.js:1:99)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
taglib-config --version
1.9.1
It is working well without 'taglib' calls into 'library_functions.js' file.
Btw, I'm very interrested by your project, and I plan to work on tasks such as cross-fade, queue viewing and remote connection (or client mobile access).
from stretto.
Ok I had enough time to do what you said properly, without forgetting to clean the node_modules/ folder. Now working. Thanks again!
from stretto.
No worries! I hope you enjoy the music player :)
Also if you are considering implementing features, open an issue for each of them first so we can discuss the implementation before you go about it, it'll give you the best chance of being merged :)
from stretto.
Related Issues (20)
- Rewrite third-party http images to https HOT 1
- Change sync button color when syncing is currently not running
- Export HOT 4
- Your connection is not secure HOT 1
- Local Files HOT 6
- Spotify login doesn't appear to work HOT 7
- Feature request: Allow importing from YouTube playlists HOT 8
- Possibilities with cross origin requests enabled HOT 1
- Remote control HOT 2
- Repeat button not working as expected HOT 1
- Small UI bug when no results found online HOT 1
- no sound ??? HOT 14
- Working with out Chrome addon? HOT 1
- Trying to get in touch regarding a security issue HOT 1
- Offline Audio - Responses stored with 403
- Qobuz integration HOT 2
- Cant run with docker in windows
- Errors from media playback cause app-wide react error
- Seeking fails due to service-worker middle layer HOT 1
- Add feature for non-library playlists
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stretto.