Page 1 of 1

Nodejs & NPM how install from a source ?

Posted: Fri Aug 16, 2019 7:22 pm
by espr3ss0
Having trouble installing a package node-taglib to use with Javascript. Whatever I try using
npm install taglib
I always get errors but from (quote below) source it seems to work however I'm not sure how to install it into a project properly, does using the provided install it globally ?
# make sure you have node and taglib installed
git clone git://github.com/nikhilm/node-taglib.git
cd node-taglib
npm install .
node examples/simple.js /path/to/mp3_or_ogg_file
# you can now require('./taglib')