Nodejs & NPM how install from a source ?

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
espr3ss0
Level 1
Level 1
Posts: 28
Joined: Thu Aug 15, 2019 7:24 pm

Nodejs & NPM how install from a source ?

Post by espr3ss0 » Fri Aug 16, 2019 7:22 pm

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')

Post Reply

Return to “Software & Applications”