Comments (19)
I just installed taglib (osx) like the following:
https://gist.github.com/trevorsheridan/1948299
but still get:
daslicht:streams daslicht$ npm install taglib
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No repository field.
npm http GET https://registry.npmjs.org/taglib
npm http 304 https://registry.npmjs.org/taglib
npm http GET https://registry.npmjs.org/bindings/1.0.0
npm http 304 https://registry.npmjs.org/bindings/1.0.0
> [email protected] install /Users/daslicht/node_modules/taglib
> node-gyp rebuild
CXX(target) Release/obj.target/taglib/src/bufferstream.o
In file included from ../src/bufferstream.cc:1:
../src/bufferstream.h:8:10: fatal error: 'tiostream.h' file not found
#include <tiostream.h>
^
1 error generated.
make: *** [Release/obj.target/taglib/src/bufferstream.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/Cellar/node/0.10.25/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:797:12)
gyp ERR! System Darwin 13.1.0
gyp ERR! command "node" "/usr/local/Cellar/node/0.10.25/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/daslicht/node_modules/taglib
gyp ERR! node -v v0.10.25
gyp ERR! node-gyp -v v0.12.2
gyp ERR! not ok
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is most likely a problem with the taglib 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 their info via:
npm ERR! npm owner ls taglib
npm ERR! There is likely additional logging output above.
npm ERR! System Darwin 13.1.0
npm ERR! command "/usr/local/Cellar/node/0.10.25/bin/node" "/usr/local/bin/npm" "install" "taglib"
npm ERR! cwd /Users/daslicht/node/streams
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.24
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/daslicht/node/streams/npm-debug.log
npm ERR! not ok code 0
daslicht:streams daslicht$
from node-taglib.
Could you try with taglib v1.8 or higher?
from node-taglib.
After installing this version:
http://taglib.github.io/releases/taglib-1.9.1.tar.gz
like described here:
https://gist.github.com/trevorsheridan/1948299
I get:
daslicht:streams daslicht$ npm install taglib
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No repository field.
npm http GET https://registry.npmjs.org/taglib
npm http 200 https://registry.npmjs.org/taglib
npm http GET https://registry.npmjs.org/bindings/1.0.0
npm http 200 https://registry.npmjs.org/bindings/1.0.0
npm http GET https://registry.npmjs.org/bindings/-/bindings-1.0.0.tgz
npm http 200 https://registry.npmjs.org/bindings/-/bindings-1.0.0.tgz
> [email protected] install /Users/daslicht/node_modules/taglib
> node-gyp rebuild
CXX(target) Release/obj.target/taglib/src/bufferstream.o
CXX(target) Release/obj.target/taglib/src/tag.o
CXX(target) Release/obj.target/taglib/src/taglib.o
SOLINK_MODULE(target) Release/taglib.node
clang: error: invalid argument '-bundle' not allowed with '-dynamiclib'
make: *** [Release/taglib.node] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/Cellar/node/0.10.25/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:797:12)
gyp ERR! System Darwin 13.1.0
gyp ERR! command "node" "/usr/local/Cellar/node/0.10.25/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/daslicht/node_modules/taglib
gyp ERR! node -v v0.10.25
gyp ERR! node-gyp -v v0.12.2
gyp ERR! not ok
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is most likely a problem with the taglib 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 their info via:
npm ERR! npm owner ls taglib
npm ERR! There is likely additional logging output above.
npm ERR! System Darwin 13.1.0
npm ERR! command "/usr/local/Cellar/node/0.10.25/bin/node" "/usr/local/bin/npm" "install" "taglib"
npm ERR! cwd /Users/daslicht/node/streams
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.24
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/daslicht/node/streams/npm-debug.log
npm ERR! not ok code 0
daslicht:streams daslicht$
from node-taglib.
try removing the dynamiclib line in the binding.gyp file. I don't have a OSX machine anymore to try it out on, so it might have to do with the version of OSX you are using.
from node-taglib.
I'm also having this problem however I am on windows.
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\Brent>cd Dropbox\Muzzler\server
C:\Users\Brent\Dropbox\Muzzler\server>npm install taglib
npm http GET https://registry.npmjs.org/taglib
npm http 304 https://registry.npmjs.org/taglib
npm http GET https://registry.npmjs.org/bindings/1.0.0
npm http 304 https://registry.npmjs.org/bindings/1.0.0
> [email protected] install C:\Users\Brent\Dropbox\Muzzler\server\node_modules\taglib
> node-gyp rebuild
C:\Users\Brent\Dropbox\Muzzler\server\node_modules\taglib>node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild
'taglib-config' is not recognized as an internal or external command,
operable program or batch file.
gyp: Call to 'taglib-config --cflags' returned exit status 1.
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:337:16)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:797:12)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "node" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\Brent\Dropbox\Muzzler\server\node_modules\taglib
gyp ERR! node -v v0.10.25
gyp ERR! node-gyp -v v0.12.2
gyp ERR! not ok
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is most likely a problem with the taglib 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 their info via:
npm ERR! npm owner ls taglib
npm ERR! There is likely additional logging output above.
npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "taglib"
npm ERR! cwd C:\Users\Brent\Dropbox\Muzzler\server
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.24
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! C:\Users\Brent\Dropbox\Muzzler\server\npm-debug.log
npm ERR! not ok code 0
C:\Users\Brent\Dropbox\Muzzler\server>
Any ideas?
from node-taglib.
@Kirasagi
If you have taglib installed, taglib-config does not seem to be in your PATH.
from node-taglib.
fixed here: fea01d8
from node-taglib.
Fix for Linux (Worked on Ubuntu 14.04)
First install
$ apt-get install libtag1-dev
Then do
npm install taglib
from node-taglib.
Another Fix for Linux (Centos, Kali and almost for all versions) If dependency problem exists:
- Upgrade curl to latest version
- Install
libarchive.so
shared library - Install CMake toolset
- Install Taglib library
(All the installation guides are there for each libraries)
Then do
npm install taglib
from node-taglib.
I get the error
info install [email protected]
verbose unsafe-perm in lifecycle true
info [email protected] Failed to exec install script
verbose unlock done using /home/likewise-open/OCTO/mvieira/.npm/_locks/taglib-5beff94d4576ab48.lock for /home/likewise-open/OCTO/mvieira/workspace/marcosrava/tag-search-write/node_modules/taglib
verbose stack Error: [email protected] install: node-gyp rebuild
verbose stack Exit status 1
verbose stack at EventEmitter. (/home/likewise-open/OCTO/mvieira/.nvm/v0.11.16/lib/node_modules/npm/lib/utils/lifecycle.js:213:16)
verbose stack at EventEmitter.emit (events.js:110:17)
verbose stack at ChildProcess. (/home/likewise-open/OCTO/mvieira/.nvm/v0.11.16/lib/node_modules/npm/lib/utils/spawn.js:14:12)
verbose stack at ChildProcess.emit (events.js:110:17)
verbose stack at maybeClose (child_process.js:1008:16)
verbose stack at Process.ChildProcess._handle.onexit (child_process.js:1080:5)
verbose pkgid [email protected]
verbose cwd /home/likewise-open/OCTO/mvieira/workspace/marcosrava/tag-search-write
error Linux 3.13.0-44-generic
error argv "/home/likewise-open/OCTO/mvieira/.nvm/v0.11.16/bin/node" "/home/likewise-open/OCTO/mvieira/.nvm/v0.11.16/bin/npm" "install" "--save" "taglib"
error node v0.11.16
error npm v2.3.0
error code ELIFECYCLE
error [email protected] install: node-gyp rebuild
error Exit status 1
error Failed at the [email protected] install script 'node-gyp rebuild'.
error This is most likely a problem with the taglib package,
error not with npm itself.
error Tell the author that this fails on your system:
error node-gyp rebuild
error You can get their info via:
error npm owner ls taglib
error There is likely additional logging output above.
verbose exit [ 1, true ]
verbose unbuild node_modules/taglib
info preuninstall [email protected]
info uninstall [email protected]
from node-taglib.
On console
npm install --save taglib
npm WARN package.json [email protected] No description
npm WARN engine [email protected]: wanted: {"node":">=0.10.0 <0.11"} (current: {"node":"0.11.16","npm":"2.3.0"})
/
[email protected] install /home/likewise-open/OCTO/mvieira/workspace/marcosrava/tag-search-write/node_modules/taglib
node-gyp rebuild
child_process: customFds option is deprecated, use stdio instead.
make: Entering directory /home/likewise-open/OCTO/mvieira/workspace/marcosrava/tag-search-write/node_modules/taglib/build' CXX(target) Release/obj.target/taglib/src/bufferstream.o In file included from ../src/bufferstream.cc:5:0: ../src/taglib.h:26:43: error: ‘Arguments’ in namespace ‘v8’ does not name a type v8::Handle<v8::Value> AsyncReadFile(const v8::Arguments &args); ^ ../src/taglib.h:26:58: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] v8::Handle<v8::Value> AsyncReadFile(const v8::Arguments &args); ^ ../src/taglib.h:46:42: error: ‘Arguments’ in namespace ‘v8’ does not name a type v8::Handle<v8::Value> AddResolvers(const v8::Arguments &args); ^ ../src/taglib.h:46:57: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] v8::Handle<v8::Value> AddResolvers(const v8::Arguments &args); ^ make: *** [Release/obj.target/taglib/src/bufferstream.o] Error 1 make: Leaving directory
/home/likewise-open/OCTO/mvieira/workspace/marcosrava/tag-search-write/node_modules/taglib/build'
from node-taglib.
in node stable version (0.10.36), it works fine!
from node-taglib.
Hi all -- I could use some help.
Please forgive me if I'm barking up the wrong tree, but from what I can tell this is a node-taglib issue.
I'm on OSX El Capitan 10.11.6; node 7.2.1; npm 3.10.10.
I installed python 2.7 with brew install python
.
I installed taglib 1.11.1 with brew install taglib
.
I installed node-gyp 3.4.0 with npm install -g node-gyp
.
When I run 'npm install taglib --save
' I get the output below. I've also tried installing from source and get the same errors.
Thanks for any help.
> [email protected] install /Users/drone1/Dropbox/scripts/node_modules/taglib
> node-gyp rebuild
CXX(target) Release/obj.target/taglib/src/bufferstream.o
In file included from ../src/bufferstream.cc:5:
../src/taglib.h:26:43: error: no type named 'Arguments' in namespace 'v8'; did you mean 'v8::internal::Arguments'?
v8::Handle<v8::Value> AsyncReadFile(const v8::Arguments &args);
^~~~~~~~~~~~~
v8::internal::Arguments
/Users/drone1/.node-gyp/7.2.1/include/node/v8.h:148:7: note: 'v8::internal::Arguments' declared here
class Arguments;
^
In file included from ../src/bufferstream.cc:5:
../src/taglib.h:46:42: error: no type named 'Arguments' in namespace 'v8'; did you mean 'v8::internal::Arguments'?
v8::Handle<v8::Value> AddResolvers(const v8::Arguments &args);
^~~~~~~~~~~~~
v8::internal::Arguments
/Users/drone1/.node-gyp/7.2.1/include/node/v8.h:148:7: note: 'v8::internal::Arguments' declared here
class Arguments;
^
2 errors generated.
make: *** [Release/obj.target/taglib/src/bufferstream.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:191:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Darwin 15.6.0
gyp ERR! command "/usr/local/Cellar/node/5.1.0/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/drone1/Dropbox/scripts/node_modules/taglib
gyp ERR! node -v v7.2.1
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
npm WARN scripts No description
npm WARN scripts No repository field.
npm WARN scripts No license field.
npm ERR! Darwin 15.6.0
npm ERR! argv "/usr/local/Cellar/node/5.1.0/bin/node" "/usr/local/bin/npm" "install" "taglib" "--save"
npm ERR! node v7.2.1
npm ERR! npm v3.10.10
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! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the taglib 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 taglib
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls taglib
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/drone1/Dropbox/scripts/npm-debug.log
from node-taglib.
from node-taglib.
from node-taglib.
from node-taglib.
from node-taglib.
from node-taglib.
Just wanted to bump this. Please fix if you can! I could really use this library and don't see an alternative for writing metadata to AIFFs from code (or ffmpeg or some other command-line tool).
from node-taglib.
Related Issues (20)
- fetching audioProperties in sync mode HOT 1
- The state of windows build HOT 14
- node-gyp rebuild failing HOT 7
- Simplify API and fix a few issues HOT 3
- Error building with Node v0.10.15 and upstream taglib HOT 1
- compilation error - invalid conversion from ‘void (*)(uv_work_t*) ... HOT 3
- question: will I be able to read/write the album artist? HOT 1
- TagLib 1.9 features HOT 1
- npm install taglib fails (OS X 10.9 / Node.js v0.10.22) HOT 1
- Thanks!
- Coverart / image support HOT 4
- Execution error? HOT 1
- Installation error HOT 3
- suport for lyrics
- Error taglib.node: undefined symbol: _ZN6TagLib8IOStreamD2Ev
- Fail to build with nodejs 12.x on Arch Linux HOT 8
- 'taglib-config' is not recognized as an internal or external command HOT 1
- Installation failing on node v5.7.1 / Ubuntu 14.04 HOT 4
- Up to date bindings for taglib version 2 HOT 3
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 node-taglib.