Closed brunocascio closed 9 years ago
You need to have libspotify installed on your system. You can get it here.
I added folder libspotify with library, and when run npm install node-spotify, i get this error:
child_process: customFds option is deprecated, use stdio instead.
In file included from ../src/objects/spotify/Album.h:6:0,
from ../src/objects/spotify/Artist.h:5,
from ../src/objects/spotify/Track.h:4,
from ../src/objects/spotify/Player.h:4,
from ../src/Application.h:7,
from ../src/node-spotify.cc:1:
../src/objects/spotify/../node/V8Browseable.h: In member function ‘void V8Browseable::callBrowseComplete()’:
../src/objects/spotify/../node/V8Browseable.h:12:52: error: too few arguments to function ‘v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)’
v8::Handle<v8::Value> argv[2] = {v8::Undefined(), this->getV8Object()};
^
In file included from ../src/objects/spotify/../node/V8Wrapped.h:4:0,
from ../src/objects/spotify/../node/V8Browseable.h:4,
from ../src/objects/spotify/Album.h:6,
from ../src/objects/spotify/Artist.h:5,
from ../src/objects/spotify/Track.h:4,
from ../src/objects/spotify/Player.h:4,
from ../src/Application.h:7,
from ../src/node-spotify.cc:1:
/home/anonymous/.node-gyp/0.12.0/deps/v8/include/v8.h:305:28: note: declared here
friend Handle<Primitive> Undefined(Isolate* isolate);
^
In file included from ../src/objects/spotify/Album.h:6:0,
from ../src/objects/spotify/Artist.h:5,
from ../src/objects/spotify/Track.h:4,
from ../src/objects/spotify/Player.h:4,
from ../src/Application.h:7,
from ../src/node-spotify.cc:1:
../src/objects/spotify/../node/V8Browseable.h:13:34: error: ‘GetCurrent’ is not a member of ‘v8::Context’
browseCompleteCallback->Call(v8::Context::GetCurrent()->Global(), argc, argv);
^
../src/objects/spotify/../node/V8Browseable.h:14:22: error: ‘class v8::Persistent<v8::Object>’ has no member named ‘Dispose’
persistentHandle.Dispose();
^
../src/objects/spotify/../node/V8Browseable.h: In member function ‘void V8Browseable::makePersistent()’:
../src/objects/spotify/../node/V8Browseable.h:18:75: error: no matching function for call to ‘v8::Persistent<v8::Object>::New(v8::Handle<v8::Object>)’
persistentHandle = v8::Persistent<v8::Object>::New(this->getV8Object());
^
../src/objects/spotify/../node/V8Browseable.h:18:75: note: candidate is:
In file included from ../src/objects/spotify/../node/V8Wrapped.h:4:0,
from ../src/objects/spotify/../node/V8Browseable.h:4,
from ../src/objects/spotify/Album.h:6,
from ../src/objects/spotify/Artist.h:5,
from ../src/objects/spotify/Track.h:4,
from ../src/objects/spotify/Player.h:4,
from ../src/Application.h:7,
from ../src/node-spotify.cc:1:
/home/anonymous/.node-gyp/0.12.0/deps/v8/include/v8.h:5809:4: note: static T* v8::PersistentBase<T>::New(v8::Isolate*, T*) [with T = v8::Object]
T* PersistentBase<T>::New(Isolate* isolate, T* that) {
^
/home/anonymous/.node-gyp/0.12.0/deps/v8/include/v8.h:5809:4: note: candidate expects 2 arguments, 1 provided
In file included from ../src/objects/node/NodeSpotify.h:4:0,
from ../src/node-spotify.cc:4:
../src/objects/node/NodeWrapped.h: At global scope:
../src/objects/node/NodeWrapped.h:16:44: error: expected class-name before ‘,’ token
class NodeWrapped : public node::ObjectWrap, public virtual V8Wrapped {
^
../src/objects/node/NodeWrapped.h: In member function ‘virtual v8::Handle<v8::Object> NodeWrapped<T>::getV8Object()’:
../src/objects/node/NodeWrapped.h:24:8: error: ‘handle_’ was not declared in this scope
if(handle_.IsEmpty()) {
^
../src/objects/node/NodeWrapped.h:25:71: error: base operand of ‘->’ has non-pointer type ‘v8::Persistent<v8::Function>’
v8::Local<v8::Object> o = v8::Local<v8::Object>::New(constructor->NewInstance());
^
../src/objects/node/NodeWrapped.h:28:12: error: ‘handle_’ was not declared in this scope
return handle_;
^
../src/objects/node/NodeWrapped.h: In static member function ‘static v8::Handle<v8::FunctionTemplate> NodeWrapped<T>::init(const char*)’:
../src/objects/node/NodeWrapped.h:41:85: error: no matching function for call to ‘v8::FunctionTemplate::New()’
v8::Local<v8::FunctionTemplate> constructorTemplate = v8::FunctionTemplate::New();
^
../src/objects/node/NodeWrapped.h:41:85: note: candidate is:
In file included from ../src/objects/spotify/../node/V8Wrapped.h:4:0,
from ../src/objects/spotify/../node/V8Browseable.h:4,
from ../src/objects/spotify/Album.h:6,
from ../src/objects/spotify/Artist.h:5,
from ../src/objects/spotify/Track.h:4,
from ../src/objects/spotify/Player.h:4,
from ../src/Application.h:7,
from ../src/node-spotify.cc:1:
/home/anonymous/.node-gyp/0.12.0/deps/v8/include/v8.h:3455:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int)
static Local<FunctionTemplate> New(
^
/home/anonymous/.node-gyp/0.12.0/deps/v8/include/v8.h:3455:34: note: candidate expects 5 arguments, 0 provided
In file included from ../src/objects/node/NodeSpotify.h:4:0,
from ../src/node-spotify.cc:4:
../src/objects/node/NodeWrapped.h:42:39: error: ‘NewSymbol’ is not a member of ‘v8::String’
constructorTemplate->SetClassName(v8::String::NewSymbol(className));
^
In file included from ../src/node-spotify.cc:4:0:
../src/objects/node/NodeSpotify.h: At global scope:
../src/objects/node/NodeSpotify.h:16:36: error: ‘Arguments’ does not name a type
static Handle<Value> login(const Arguments& args);
^
../src/objects/node/NodeSpotify.h:16:47: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle<Value> login(const Arguments& args);
^
../src/objects/node/NodeSpotify.h:17:37: error: ‘Arguments’ does not name a type
static Handle<Value> logout(const Arguments& args);
^
../src/objects/node/NodeSpotify.h:17:48: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle<Value> logout(const Arguments& args);
^
../src/objects/node/NodeSpotify.h:18:75: error: ‘AccessorInfo’ does not name a type
static Handle<Value> getPlaylistContainer(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeSpotify.h:18:89: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static Handle<Value> getPlaylistContainer(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeSpotify.h:19:72: error: ‘AccessorInfo’ does not name a type
static Handle<Value> getRememberedUser(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeSpotify.h:19:86: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static Handle<Value> getRememberedUser(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeSpotify.h:20:69: error: ‘AccessorInfo’ does not name a type
static Handle<Value> getSessionUser(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeSpotify.h:20:83: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static Handle<Value> getSessionUser(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeSpotify.h:21:45: error: ‘Arguments’ does not name a type
static Handle<Value> createFromLink(const Arguments& args);
^
../src/objects/node/NodeSpotify.h:21:56: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle<Value> createFromLink(const Arguments& args);
^
../src/objects/node/NodeSpotify.h:22:67: error: ‘AccessorInfo’ does not name a type
static Handle<Value> getConstants(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeSpotify.h:22:81: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static Handle<Value> getConstants(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeSpotify.h:24:45: error: ‘Arguments’ does not name a type
static Handle<Value> useNativeAudio(const Arguments& args);
^
../src/objects/node/NodeSpotify.h:24:56: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle<Value> useNativeAudio(const Arguments& args);
^
../src/objects/node/NodeSpotify.h:26:45: error: ‘Arguments’ does not name a type
static Handle<Value> useNodejsAudio(const Arguments& args);
^
../src/objects/node/NodeSpotify.h:26:56: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle<Value> useNodejsAudio(const Arguments& args);
^
../src/objects/node/NodeSpotify.h:27:33: error: ‘Arguments’ does not name a type
static Handle<Value> on(const Arguments& other);
^
../src/objects/node/NodeSpotify.h:27:44: error: ISO C++ forbids declaration of ‘other’ with no type [-fpermissive]
static Handle<Value> on(const Arguments& other);
^
In file included from ../src/node-spotify.cc:5:0:
../src/objects/node/NodePlaylist.h:22:73: error: ‘AccessorInfo’ does not name a type
static void setName(Local<String> property, Local<Value> value, const AccessorInfo& info);
^
../src/objects/node/NodePlaylist.h:22:87: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static void setName(Local<String> property, Local<Value> value, const AccessorInfo& info);
^
../src/objects/node/NodePlaylist.h:23:62: error: ‘AccessorInfo’ does not name a type
static Handle<Value> getName(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodePlaylist.h:23:76: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static Handle<Value> getName(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodePlaylist.h:24:82: error: ‘AccessorInfo’ does not name a type
static void setCollaborative(Local<String> property, Local<Value> value, const AccessorInfo& info);
^
../src/objects/node/NodePlaylist.h:24:96: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static void setCollaborative(Local<String> property, Local<Value> value, const AccessorInfo& info);
^
../src/objects/node/NodePlaylist.h:25:71: error: ‘AccessorInfo’ does not name a type
static Handle<Value> getCollaborative(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodePlaylist.h:25:85: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static Handle<Value> getCollaborative(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodePlaylist.h:26:62: error: ‘AccessorInfo’ does not name a type
static Handle<Value> getLink(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodePlaylist.h:26:76: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static Handle<Value> getLink(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodePlaylist.h:27:69: error: ‘AccessorInfo’ does not name a type
static Handle<Value> getDescription(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodePlaylist.h:27:83: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static Handle<Value> getDescription(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodePlaylist.h:28:67: error: ‘AccessorInfo’ does not name a type
static Handle<Value> getNumTracks(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodePlaylist.h:28:81: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static Handle<Value> getNumTracks(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodePlaylist.h:29:39: error: ‘Arguments’ does not name a type
static Handle<Value> getTrack(const Arguments& args);
^
../src/objects/node/NodePlaylist.h:29:50: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle<Value> getTrack(const Arguments& args);
^
../src/objects/node/NodePlaylist.h:30:40: error: ‘Arguments’ does not name a type
static Handle<Value> addTracks(const Arguments& args);
^
../src/objects/node/NodePlaylist.h:30:51: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle<Value> addTracks(const Arguments& args);
^
../src/objects/node/NodePlaylist.h:31:43: error: ‘Arguments’ does not name a type
static Handle<Value> removeTracks(const Arguments& args);
^
../src/objects/node/NodePlaylist.h:31:54: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle<Value> removeTracks(const Arguments& args);
^
../src/objects/node/NodePlaylist.h:32:44: error: ‘Arguments’ does not name a type
static Handle<Value> reorderTracks(const Arguments& args);
^
../src/objects/node/NodePlaylist.h:32:55: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle<Value> reorderTracks(const Arguments& args);
^
../src/objects/node/NodePlaylist.h:33:63: error: ‘AccessorInfo’ does not name a type
static Handle<Value> isLoaded(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodePlaylist.h:33:77: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static Handle<Value> isLoaded(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodePlaylist.h:34:63: error: ‘AccessorInfo’ does not name a type
static Handle<Value> getOwner(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodePlaylist.h:34:77: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static Handle<Value> getOwner(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodePlaylist.h:35:33: error: ‘Arguments’ does not name a type
static Handle<Value> on(const Arguments& args);
^
../src/objects/node/NodePlaylist.h:35:44: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle<Value> on(const Arguments& args);
^
../src/objects/node/NodePlaylist.h:36:34: error: ‘Arguments’ does not name a type
static Handle<Value> off(const Arguments& args);
^
../src/objects/node/NodePlaylist.h:36:45: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle<Value> off(const Arguments& args);
^
In file included from ../src/node-spotify.cc:6:0:
../src/objects/node/NodePlaylistContainer.h:20:63: error: ‘AccessorInfo’ does not name a type
static Handle<Value> getOwner(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodePlaylistContainer.h:20:77: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static Handle<Value> getOwner(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodePlaylistContainer.h:21:42: error: ‘Arguments’ does not name a type
static Handle<Value> getPlaylist(const Arguments& args);
^
../src/objects/node/NodePlaylistContainer.h:21:53: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle<Value> getPlaylist(const Arguments& args);
^
../src/objects/node/NodePlaylistContainer.h:22:63: error: ‘AccessorInfo’ does not name a type
static Handle<Value> isLoaded(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodePlaylistContainer.h:22:77: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static Handle<Value> isLoaded(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodePlaylistContainer.h:23:70: error: ‘AccessorInfo’ does not name a type
static Handle<Value> getNumPlaylists(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodePlaylistContainer.h:23:84: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static Handle<Value> getNumPlaylists(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodePlaylistContainer.h:24:42: error: ‘Arguments’ does not name a type
static Handle<Value> addPlaylist(const Arguments& args);
^
../src/objects/node/NodePlaylistContainer.h:24:53: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle<Value> addPlaylist(const Arguments& args);
^
../src/objects/node/NodePlaylistContainer.h:25:40: error: ‘Arguments’ does not name a type
static Handle<Value> addFolder(const Arguments& args);
^
../src/objects/node/NodePlaylistContainer.h:25:51: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle<Value> addFolder(const Arguments& args);
^
../src/objects/node/NodePlaylistContainer.h:26:45: error: ‘Arguments’ does not name a type
static Handle<Value> deletePlaylist(const Arguments& args);
^
../src/objects/node/NodePlaylistContainer.h:26:56: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle<Value> deletePlaylist(const Arguments& args);
^
../src/objects/node/NodePlaylistContainer.h:27:43: error: ‘Arguments’ does not name a type
static Handle<Value> movePlaylist(const Arguments& args);
^
../src/objects/node/NodePlaylistContainer.h:27:54: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle<Value> movePlaylist(const Arguments& args);
^
../src/objects/node/NodePlaylistContainer.h:28:33: error: ‘Arguments’ does not name a type
static Handle<Value> on(const Arguments& args);
^
../src/objects/node/NodePlaylistContainer.h:28:44: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle<Value> on(const Arguments& args);
^
../src/objects/node/NodePlaylistContainer.h:29:34: error: ‘Arguments’ does not name a type
static Handle<Value> off(const Arguments& args);
^
../src/objects/node/NodePlaylistContainer.h:29:45: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle<Value> off(const Arguments& args);
^
In file included from ../src/node-spotify.cc:7:0:
../src/objects/node/NodeTrack.h:20:62: error: ‘AccessorInfo’ does not name a type
static Handle<Value> getName(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeTrack.h:20:76: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static Handle<Value> getName(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeTrack.h:21:62: error: ‘AccessorInfo’ does not name a type
static Handle<Value> getLink(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeTrack.h:21:76: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static Handle<Value> getLink(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeTrack.h:22:65: error: ‘AccessorInfo’ does not name a type
static Handle<Value> getArtists(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeTrack.h:22:79: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static Handle<Value> getArtists(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeTrack.h:23:66: error: ‘AccessorInfo’ does not name a type
static Handle<Value> getDuration(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeTrack.h:23:80: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static Handle<Value> getDuration(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeTrack.h:24:63: error: ‘AccessorInfo’ does not name a type
static Handle<Value> getAlbum(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeTrack.h:24:77: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static Handle<Value> getAlbum(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeTrack.h:25:65: error: ‘AccessorInfo’ does not name a type
static Handle<Value> getStarred(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeTrack.h:25:79: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static Handle<Value> getStarred(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeTrack.h:26:68: error: ‘AccessorInfo’ does not name a type
static Handle<Value> getPopularity(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeTrack.h:26:82: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static Handle<Value> getPopularity(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeTrack.h:27:63: error: ‘AccessorInfo’ does not name a type
static Handle<Value> isLoaded(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeTrack.h:27:77: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static Handle<Value> isLoaded(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeTrack.h:28:76: error: ‘AccessorInfo’ does not name a type
static void setStarred(Local<String> property, Local<Value> value, const AccessorInfo& info);
^
../src/objects/node/NodeTrack.h:28:90: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static void setStarred(Local<String> property, Local<Value> value, const AccessorInfo& info);
^
In file included from ../src/node-spotify.cc:8:0:
../src/objects/node/NodeTrackExtended.h:17:65: error: ‘AccessorInfo’ does not name a type
static Handle<Value> getCreator(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeTrackExtended.h:17:79: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static Handle<Value> getCreator(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeTrackExtended.h:18:62: error: ‘AccessorInfo’ does not name a type
static Handle<Value> getSeen(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeTrackExtended.h:18:76: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static Handle<Value> getSeen(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeTrackExtended.h:19:73: error: ‘AccessorInfo’ does not name a type
static void setSeen(Local<String> property, Local<Value> value, const AccessorInfo& info);
^
../src/objects/node/NodeTrackExtended.h:19:87: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static void setSeen(Local<String> property, Local<Value> value, const AccessorInfo& info);
^
../src/objects/node/NodeTrackExtended.h:20:68: error: ‘AccessorInfo’ does not name a type
static Handle<Value> getCreateTime(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeTrackExtended.h:20:82: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static Handle<Value> getCreateTime(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeTrackExtended.h:21:65: error: ‘AccessorInfo’ does not name a type
static Handle<Value> getMessage(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeTrackExtended.h:21:79: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static Handle<Value> getMessage(Local<String> property, const AccessorInfo& info);
^
In file included from ../src/node-spotify.cc:9:0:
../src/objects/node/NodePlayer.h:19:35: error: ‘Arguments’ does not name a type
static Handle<Value> stop(const Arguments& args);
^
../src/objects/node/NodePlayer.h:19:46: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle<Value> stop(const Arguments& args);
^
../src/objects/node/NodePlayer.h:20:36: error: ‘Arguments’ does not name a type
static Handle<Value> pause(const Arguments& args);
^
../src/objects/node/NodePlayer.h:20:47: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle<Value> pause(const Arguments& args);
^
../src/objects/node/NodePlayer.h:21:37: error: ‘Arguments’ does not name a type
static Handle<Value> resume(const Arguments& args);
^
../src/objects/node/NodePlayer.h:21:48: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle<Value> resume(const Arguments& args);
^
../src/objects/node/NodePlayer.h:22:35: error: ‘Arguments’ does not name a type
static Handle<Value> play(const Arguments& args);
^
../src/objects/node/NodePlayer.h:22:46: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle<Value> play(const Arguments& args);
^
../src/objects/node/NodePlayer.h:23:71: error: ‘AccessorInfo’ does not name a type
static Handle<Value> getCurrentSecond(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodePlayer.h:23:85: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static Handle<Value> getCurrentSecond(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodePlayer.h:24:35: error: ‘Arguments’ does not name a type
static Handle<Value> seek(const Arguments& args);
^
../src/objects/node/NodePlayer.h:24:46: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle<Value> seek(const Arguments& args);
^
../src/objects/node/NodePlayer.h:25:33: error: ‘Arguments’ does not name a type
static Handle<Value> on(const Arguments& args);
^
../src/objects/node/NodePlayer.h:25:44: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle<Value> on(const Arguments& args);
^
../src/objects/node/NodePlayer.h:26:34: error: ‘Arguments’ does not name a type
static Handle<Value> off(const Arguments& args);
^
../src/objects/node/NodePlayer.h:26:45: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle<Value> off(const Arguments& args);
^
In file included from ../src/node-spotify.cc:10:0:
../src/objects/node/NodeAlbum.h:21:62: error: ‘AccessorInfo’ does not name a type
static Handle<Value> getName(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeAlbum.h:21:76: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static Handle<Value> getName(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeAlbum.h:22:62: error: ‘AccessorInfo’ does not name a type
static Handle<Value> getLink(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeAlbum.h:22:76: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static Handle<Value> getLink(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeAlbum.h:23:45: error: ‘Arguments’ does not name a type
static Handle<Value> getCoverBase64(const Arguments& args);
^
../src/objects/node/NodeAlbum.h:23:56: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle<Value> getCoverBase64(const Arguments& args);
^
../src/objects/node/NodeAlbum.h:24:37: error: ‘Arguments’ does not name a type
static Handle<Value> browse(const Arguments& args);
^
../src/objects/node/NodeAlbum.h:24:48: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle<Value> browse(const Arguments& args);
^
../src/objects/node/NodeAlbum.h:25:64: error: ‘AccessorInfo’ does not name a type
static Handle<Value> getTracks(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeAlbum.h:25:78: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static Handle<Value> getTracks(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeAlbum.h:26:68: error: ‘AccessorInfo’ does not name a type
static Handle<Value> getCopyrights(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeAlbum.h:26:82: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static Handle<Value> getCopyrights(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeAlbum.h:27:64: error: ‘AccessorInfo’ does not name a type
static Handle<Value> getReview(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeAlbum.h:27:78: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static Handle<Value> getReview(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeAlbum.h:28:64: error: ‘AccessorInfo’ does not name a type
static Handle<Value> getArtist(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeAlbum.h:28:78: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static Handle<Value> getArtist(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeAlbum.h:29:63: error: ‘AccessorInfo’ does not name a type
static Handle<Value> isLoaded(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeAlbum.h:29:77: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static Handle<Value> isLoaded(Local<String> property, const AccessorInfo& info);
^
In file included from ../src/node-spotify.cc:11:0:
../src/objects/node/NodeArtist.h:19:62: error: ‘AccessorInfo’ does not name a type
static Handle<Value> getName(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeArtist.h:19:76: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static Handle<Value> getName(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeArtist.h:20:62: error: ‘AccessorInfo’ does not name a type
static Handle<Value> getLink(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeArtist.h:20:76: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static Handle<Value> getLink(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeArtist.h:21:37: error: ‘Arguments’ does not name a type
static Handle<Value> browse(const Arguments& args);
^
../src/objects/node/NodeArtist.h:21:48: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle<Value> browse(const Arguments& args);
^
../src/objects/node/NodeArtist.h:22:64: error: ‘AccessorInfo’ does not name a type
static Handle<Value> getTracks(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeArtist.h:22:78: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static Handle<Value> getTracks(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeArtist.h:23:70: error: ‘AccessorInfo’ does not name a type
static Handle<Value> getTophitTracks(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeArtist.h:23:84: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static Handle<Value> getTophitTracks(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeArtist.h:24:64: error: ‘AccessorInfo’ does not name a type
static Handle<Value> getAlbums(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeArtist.h:24:78: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static Handle<Value> getAlbums(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeArtist.h:25:72: error: ‘AccessorInfo’ does not name a type
static Handle<Value> getSimilarArtists(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeArtist.h:25:86: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static Handle<Value> getSimilarArtists(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeArtist.h:26:67: error: ‘AccessorInfo’ does not name a type
static Handle<Value> getBiography(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeArtist.h:26:81: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static Handle<Value> getBiography(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeArtist.h:27:63: error: ‘AccessorInfo’ does not name a type
static Handle<Value> isLoaded(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeArtist.h:27:77: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static Handle<Value> isLoaded(Local<String> property, const AccessorInfo& info);
^
In file included from ../src/node-spotify.cc:12:0:
../src/objects/node/NodeSearch.h:25:69: error: ‘AccessorInfo’ does not name a type
static Handle<Value> getTrackOffset(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeSearch.h:25:83: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static Handle<Value> getTrackOffset(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeSearch.h:26:80: error: ‘AccessorInfo’ does not name a type
static void setTrackOffset(Local<String> property, Local<Value> value, const AccessorInfo& info);
^
../src/objects/node/NodeSearch.h:26:94: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static void setTrackOffset(Local<String> property, Local<Value> value, const AccessorInfo& info);
^
../src/objects/node/NodeSearch.h:27:69: error: ‘AccessorInfo’ does not name a type
static Handle<Value> getAlbumOffset(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeSearch.h:27:83: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static Handle<Value> getAlbumOffset(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeSearch.h:28:80: error: ‘AccessorInfo’ does not name a type
static void setAlbumOffset(Local<String> property, Local<Value> value, const AccessorInfo& info);
^
../src/objects/node/NodeSearch.h:28:94: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static void setAlbumOffset(Local<String> property, Local<Value> value, const AccessorInfo& info);
^
../src/objects/node/NodeSearch.h:29:70: error: ‘AccessorInfo’ does not name a type
static Handle<Value> getArtistOffset(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeSearch.h:29:84: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static Handle<Value> getArtistOffset(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeSearch.h:30:81: error: ‘AccessorInfo’ does not name a type
static void setArtistOffset(Local<String> property, Local<Value> value, const AccessorInfo& info);
^
../src/objects/node/NodeSearch.h:30:95: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static void setArtistOffset(Local<String> property, Local<Value> value, const AccessorInfo& info);
^
../src/objects/node/NodeSearch.h:31:72: error: ‘AccessorInfo’ does not name a type
static Handle<Value> getPlaylistOffset(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeSearch.h:31:86: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static Handle<Value> getPlaylistOffset(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeSearch.h:32:83: error: ‘AccessorInfo’ does not name a type
static void setPlaylistOffset(Local<String> property, Local<Value> value, const AccessorInfo& info);
^
../src/objects/node/NodeSearch.h:32:97: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static void setPlaylistOffset(Local<String> property, Local<Value> value, const AccessorInfo& info);
^
../src/objects/node/NodeSearch.h:33:68: error: ‘AccessorInfo’ does not name a type
static Handle<Value> getTrackLimit(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeSearch.h:33:82: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static Handle<Value> getTrackLimit(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeSearch.h:34:79: error: ‘AccessorInfo’ does not name a type
static void setTrackLimit(Local<String> property, Local<Value> value, const AccessorInfo& info);
^
../src/objects/node/NodeSearch.h:34:93: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static void setTrackLimit(Local<String> property, Local<Value> value, const AccessorInfo& info);
^
../src/objects/node/NodeSearch.h:35:68: error: ‘AccessorInfo’ does not name a type
static Handle<Value> getAlbumLimit(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeSearch.h:35:82: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static Handle<Value> getAlbumLimit(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeSearch.h:36:79: error: ‘AccessorInfo’ does not name a type
static void setAlbumLimit(Local<String> property, Local<Value> value, const AccessorInfo& info);
^
../src/objects/node/NodeSearch.h:36:93: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static void setAlbumLimit(Local<String> property, Local<Value> value, const AccessorInfo& info);
^
../src/objects/node/NodeSearch.h:37:69: error: ‘AccessorInfo’ does not name a type
static Handle<Value> getArtistLimit(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeSearch.h:37:83: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static Handle<Value> getArtistLimit(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeSearch.h:38:80: error: ‘AccessorInfo’ does not name a type
static void setArtistLimit(Local<String> property, Local<Value> value, const AccessorInfo& info);
^
../src/objects/node/NodeSearch.h:38:94: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static void setArtistLimit(Local<String> property, Local<Value> value, const AccessorInfo& info);
^
../src/objects/node/NodeSearch.h:39:71: error: ‘AccessorInfo’ does not name a type
static Handle<Value> getPlaylistLimit(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeSearch.h:39:85: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static Handle<Value> getPlaylistLimit(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeSearch.h:40:82: error: ‘AccessorInfo’ does not name a type
static void setPlaylistLimit(Local<String> property, Local<Value> value, const AccessorInfo& info);
^
../src/objects/node/NodeSearch.h:40:96: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static void setPlaylistLimit(Local<String> property, Local<Value> value, const AccessorInfo& info);
^
../src/objects/node/NodeSearch.h:41:65: error: ‘AccessorInfo’ does not name a type
static Handle<Value> didYouMean(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeSearch.h:41:79: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static Handle<Value> didYouMean(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeSearch.h:42:69: error: ‘AccessorInfo’ does not name a type
static Handle<Value> getTotalTracks(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeSearch.h:42:83: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static Handle<Value> getTotalTracks(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeSearch.h:43:67: error: ‘AccessorInfo’ does not name a type
static Handle<Value> getNumTracks(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeSearch.h:43:81: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static Handle<Value> getNumTracks(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeSearch.h:44:69: error: ‘AccessorInfo’ does not name a type
static Handle<Value> getTotalAlbums(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeSearch.h:44:83: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static Handle<Value> getTotalAlbums(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeSearch.h:45:67: error: ‘AccessorInfo’ does not name a type
static Handle<Value> getNumAlbums(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeSearch.h:45:81: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static Handle<Value> getNumAlbums(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeSearch.h:46:70: error: ‘AccessorInfo’ does not name a type
static Handle<Value> getTotalArtists(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeSearch.h:46:84: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static Handle<Value> getTotalArtists(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeSearch.h:47:68: error: ‘AccessorInfo’ does not name a type
static Handle<Value> getNumArtists(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeSearch.h:47:82: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static Handle<Value> getNumArtists(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeSearch.h:48:72: error: ‘AccessorInfo’ does not name a type
static Handle<Value> getTotalPlaylists(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeSearch.h:48:86: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static Handle<Value> getTotalPlaylists(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeSearch.h:49:70: error: ‘AccessorInfo’ does not name a type
static Handle<Value> getNumPlaylists(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeSearch.h:49:84: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static Handle<Value> getNumPlaylists(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeSearch.h:50:34: error: ‘Arguments’ does not name a type
static Handle<Value> New(const Arguments& args);
^
../src/objects/node/NodeSearch.h:50:45: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle<Value> New(const Arguments& args);
^
../src/objects/node/NodeSearch.h:51:38: error: ‘Arguments’ does not name a type
static Handle<Value> execute(const Arguments& args);
^
../src/objects/node/NodeSearch.h:51:49: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle<Value> execute(const Arguments& args);
^
../src/objects/node/NodeSearch.h:52:39: error: ‘Arguments’ does not name a type
static Handle<Value> getTrack(const Arguments& args);
^
../src/objects/node/NodeSearch.h:52:50: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle<Value> getTrack(const Arguments& args);
^
../src/objects/node/NodeSearch.h:53:39: error: ‘Arguments’ does not name a type
static Handle<Value> getAlbum(const Arguments& args);
^
../src/objects/node/NodeSearch.h:53:50: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle<Value> getAlbum(const Arguments& args);
^
../src/objects/node/NodeSearch.h:54:40: error: ‘Arguments’ does not name a type
static Handle<Value> getArtist(const Arguments& args);
^
../src/objects/node/NodeSearch.h:54:51: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle<Value> getArtist(const Arguments& args);
^
../src/objects/node/NodeSearch.h:55:42: error: ‘Arguments’ does not name a type
static Handle<Value> getPlaylist(const Arguments& args);
^
../src/objects/node/NodeSearch.h:55:53: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle<Value> getPlaylist(const Arguments& args);
^
../src/objects/node/NodeSearch.h:56:62: error: ‘AccessorInfo’ does not name a type
static Handle<Value> getLink(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeSearch.h:56:76: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static Handle<Value> getLink(Local<String> property, const AccessorInfo& info);
^
In file included from ../src/node-spotify.cc:13:0:
../src/objects/node/NodePlaylistFolder.h:19:62: error: ‘AccessorInfo’ does not name a type
static Handle<Value> getName(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodePlaylistFolder.h:19:76: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static Handle<Value> getName(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodePlaylistFolder.h:20:62: error: ‘AccessorInfo’ does not name a type
static Handle<Value> getType(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodePlaylistFolder.h:20:76: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static Handle<Value> getType(Local<String> property, const AccessorInfo& info);
^
In file included from ../src/node-spotify.cc:14:0:
../src/objects/node/NodeUser.h:18:71: error: ‘AccessorInfo’ does not name a type
static Handle<Value> getCanonicalName(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeUser.h:18:85: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static Handle<Value> getCanonicalName(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeUser.h:19:69: error: ‘AccessorInfo’ does not name a type
static Handle<Value> getDisplayName(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeUser.h:19:83: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static Handle<Value> getDisplayName(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeUser.h:20:63: error: ‘AccessorInfo’ does not name a type
static Handle<Value> isLoaded(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeUser.h:20:77: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static Handle<Value> isLoaded(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeUser.h:21:62: error: ‘AccessorInfo’ does not name a type
static Handle<Value> getLink(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeUser.h:21:76: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static Handle<Value> getLink(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeUser.h:22:85: error: ‘AccessorInfo’ does not name a type
static Handle<Value> getPublishedPlaylistsContainer(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeUser.h:22:99: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static Handle<Value> getPublishedPlaylistsContainer(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeUser.h:23:73: error: ‘AccessorInfo’ does not name a type
static Handle<Value> getStarredPlaylist(Local<String> property, const AccessorInfo& info);
^
../src/objects/node/NodeUser.h:23:87: error: ISO C++ forbids declaration of ‘info’ with no type [-fpermissive]
static Handle<Value> getStarredPlaylist(Local<String> property, const AccessorInfo& info);
^
../src/node-spotify.cc: In function ‘v8::Handle<v8::Object> getInternal()’:
../src/node-spotify.cc:26:40: error: no matching function for call to ‘v8::Object::New()’
Local<Object> internal = Object::New();
^
../src/node-spotify.cc:26:40: note: candidate is:
In file included from ../src/objects/spotify/../node/V8Wrapped.h:4:0,
from ../src/objects/spotify/../node/V8Browseable.h:4,
from ../src/objects/spotify/Album.h:6,
from ../src/objects/spotify/Artist.h:5,
from ../src/objects/spotify/Track.h:4,
from ../src/objects/spotify/Player.h:4,
from ../src/Application.h:7,
from ../src/node-spotify.cc:1:
/home/anonymous/.node-gyp/0.12.0/deps/v8/include/v8.h:2388:24: note: static v8::Local<v8::Object> v8::Object::New(v8::Isolate*)
static Local<Object> New(Isolate* isolate);
^
/home/anonymous/.node-gyp/0.12.0/deps/v8/include/v8.h:2388:24: note: candidate expects 1 argument, 0 provided
../src/node-spotify.cc:27:38: error: no matching function for call to ‘v8::Object::New()’
Local<Object> protos = Object::New();
^
../src/node-spotify.cc:27:38: note: candidate is:
In file included from ../src/objects/spotify/../node/V8Wrapped.h:4:0,
from ../src/objects/spotify/../node/V8Browseable.h:4,
from ../src/objects/spotify/Album.h:6,
from ../src/objects/spotify/Artist.h:5,
from ../src/objects/spotify/Track.h:4,
from ../src/objects/spotify/Player.h:4,
from ../src/Application.h:7,
from ../src/node-spotify.cc:1:
/home/anonymous/.node-gyp/0.12.0/deps/v8/include/v8.h:2388:24: note: static v8::Local<v8::Object> v8::Object::New(v8::Isolate*)
static Local<Object> New(Isolate* isolate);
^
/home/anonymous/.node-gyp/0.12.0/deps/v8/include/v8.h:2388:24: note: candidate expects 1 argument, 0 provided
../src/node-spotify.cc:28:15: error: ‘NewSymbol’ is not a member of ‘v8::String’
protos->Set(v8::String::NewSymbol("Playlist"), NodePlaylist::getConstructor());
^
../src/node-spotify.cc:29:15: error: ‘NewSymbol’ is not a member of ‘v8::String’
protos->Set(v8::String::NewSymbol("Track"), NodeTrack::getConstructor());
^
../src/node-spotify.cc:30:15: error: ‘NewSymbol’ is not a member of ‘v8::String’
protos->Set(v8::String::NewSymbol("TrackExtended"), NodeTrackExtended::getConstructor());
^
../src/node-spotify.cc:31:15: error: ‘NewSymbol’ is not a member of ‘v8::String’
protos->Set(v8::String::NewSymbol("PlaylistContainer"), NodePlaylistContainer::getConstructor());
^
../src/node-spotify.cc:32:15: error: ‘NewSymbol’ is not a member of ‘v8::String’
protos->Set(v8::String::NewSymbol("Artist"), NodeArtist::getConstructor());
^
../src/node-spotify.cc:33:15: error: ‘NewSymbol’ is not a member of ‘v8::String’
protos->Set(v8::String::NewSymbol("Album"), NodeAlbum::getConstructor());
^
../src/node-spotify.cc:34:15: error: ‘NewSymbol’ is not a member of ‘v8::String’
protos->Set(v8::String::NewSymbol("User"), NodeUser::getConstructor());
^
../src/node-spotify.cc:35:15: error: ‘NewSymbol’ is not a member of ‘v8::String’
protos->Set(v8::String::NewSymbol("PlaylistFolder"), NodePlaylistFolder::getConstructor());
^
../src/node-spotify.cc:36:17: error: ‘NewSymbol’ is not a member of ‘v8::String’
internal->Set(v8::String::NewSymbol("protos"), protos);
^
../src/node-spotify.cc: At global scope:
../src/node-spotify.cc:41:47: error: ‘Arguments’ in namespace ‘v8’ does not name a type
v8::Handle<v8::Value> CreateNodespotify(const v8::Arguments& args) {
^
../src/node-spotify.cc:41:62: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
v8::Handle<v8::Value> CreateNodespotify(const v8::Arguments& args) {
^
In file included from ../src/objects/spotify/../node/V8Wrapped.h:4:0,
from ../src/objects/spotify/../node/V8Browseable.h:4,
from ../src/objects/spotify/Album.h:6,
from ../src/objects/spotify/Artist.h:5,
from ../src/objects/spotify/Track.h:4,
from ../src/objects/spotify/Player.h:4,
from ../src/Application.h:7,
from ../src/node-spotify.cc:1:
/home/anonymous/.node-gyp/0.12.0/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> CreateNodespotify(const int&)’:
/home/anonymous/.node-gyp/0.12.0/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected
V8_INLINE HandleScope() {}
^
../src/node-spotify.cc:42:19: error: within this context
v8::HandleScope scope;
^
../src/node-spotify.cc:65:11: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’
if(args.Length() < 1) {
^
../src/node-spotify.cc:66:31: error: no matching function for call to ‘v8::Object::New()’
options = v8::Object::New();
^
../src/node-spotify.cc:66:31: note: candidate is:
In file included from ../src/objects/spotify/../node/V8Wrapped.h:4:0,
from ../src/objects/spotify/../node/V8Browseable.h:4,
from ../src/objects/spotify/Album.h:6,
from ../src/objects/spotify/Artist.h:5,
from ../src/objects/spotify/Track.h:4,
from ../src/objects/spotify/Player.h:4,
from ../src/Application.h:7,
from ../src/node-spotify.cc:1:
/home/anonymous/.node-gyp/0.12.0/deps/v8/include/v8.h:2388:24: note: static v8::Local<v8::Object> v8::Object::New(v8::Isolate*)
static Local<Object> New(Isolate* isolate);
^
/home/anonymous/.node-gyp/0.12.0/deps/v8/include/v8.h:2388:24: note: candidate expects 1 argument, 0 provided
../src/node-spotify.cc:68:15: error: invalid types ‘const int[int]’ for array subscript
if(!args[0]->IsObject()) {
^
../src/node-spotify.cc:69:20: error: ‘class v8::HandleScope’ has no member named ‘Close’
return scope.Close(V8_EXCEPTION("Please provide an object to the node-spotify initializer function"));
^
In file included from ../src/node-spotify.cc:3:0:
../src/common_macros.h:4:31: error: ‘ThrowException’ is not a member of ‘v8’
#define V8_EXCEPTION(message) v8::ThrowException(v8::Exception::Error(v8::String::New(message)))
^
../src/node-spotify.cc:69:26: note: in expansion of macro ‘V8_EXCEPTION’
return scope.Close(V8_EXCEPTION("Please provide an object to the node-spotify initializer function"));
^
../src/common_macros.h:4:71: error: ‘New’ is not a member of ‘v8::String’
#define V8_EXCEPTION(message) v8::ThrowException(v8::Exception::Error(v8::String::New(message)))
^
../src/node-spotify.cc:69:26: note: in expansion of macro ‘V8_EXCEPTION’
return scope.Close(V8_EXCEPTION("Please provide an object to the node-spotify initializer function"));
^
../src/node-spotify.cc:71:21: error: invalid types ‘const int[int]’ for array subscript
options = args[0]->ToObject();
^
../src/node-spotify.cc:78:18: error: ‘class v8::HandleScope’ has no member named ‘Close’
return scope.Close(V8_EXCEPTION("Appkey file not found"));
^
In file included from ../src/node-spotify.cc:3:0:
../src/common_macros.h:4:31: error: ‘ThrowException’ is not a member of ‘v8’
#define V8_EXCEPTION(message) v8::ThrowException(v8::Exception::Error(v8::String::New(message)))
^
../src/node-spotify.cc:78:24: note: in expansion of macro ‘V8_EXCEPTION’
return scope.Close(V8_EXCEPTION("Appkey file not found"));
^
../src/common_macros.h:4:71: error: ‘New’ is not a member of ‘v8::String’
#define V8_EXCEPTION(message) v8::ThrowException(v8::Exception::Error(v8::String::New(message)))
^
../src/node-spotify.cc:78:24: note: in expansion of macro ‘V8_EXCEPTION’
return scope.Close(V8_EXCEPTION("Appkey file not found"));
^
../src/node-spotify.cc:80:18: error: ‘class v8::HandleScope’ has no member named ‘Close’
return scope.Close(V8_EXCEPTION(e.message.c_str()));
^
In file included from ../src/node-spotify.cc:3:0:
../src/common_macros.h:4:31: error: ‘ThrowException’ is not a member of ‘v8’
#define V8_EXCEPTION(message) v8::ThrowException(v8::Exception::Error(v8::String::New(message)))
^
../src/node-spotify.cc:80:24: note: in expansion of macro ‘V8_EXCEPTION’
return scope.Close(V8_EXCEPTION(e.message.c_str()));
^
../src/common_macros.h:4:71: error: ‘New’ is not a member of ‘v8::String’
#define V8_EXCEPTION(message) v8::ThrowException(v8::Exception::Error(v8::String::New(message)))
^
../src/node-spotify.cc:80:24: note: in expansion of macro ‘V8_EXCEPTION’
return scope.Close(V8_EXCEPTION(e.message.c_str()));
^
../src/node-spotify.cc:85:22: error: ‘NewSymbol’ is not a member of ‘v8::String’
spotifyObject->Set(v8::String::NewSymbol("Search"), NodeSearch::getConstructor());//TODO: this is ugly but didn't work when done in the NodeSpotify ctor
^
../src/node-spotify.cc:86:22: error: ‘NewSymbol’ is not a member of ‘v8::String’
spotifyObject->Set(v8::String::NewSymbol("internal"), getInternal());
^
../src/node-spotify.cc:89:22: error: ‘NewSymbol’ is not a member of ‘v8::String’
spotifyObject->Set(v8::String::NewSymbol("player"), nodePlayer->getV8Object());
^
../src/node-spotify.cc:90:16: error: ‘class v8::HandleScope’ has no member named ‘Close’
return scope.Close(spotifyObject);
^
../src/node-spotify.cc: In function ‘void init(v8::Handle<v8::Object>, v8::Handle<v8::Object>)’:
../src/node-spotify.cc:94:15: error: ‘NewSymbol’ is not a member of ‘v8::String’
module->Set(v8::String::NewSymbol("exports"), v8::FunctionTemplate::New(CreateNodespotify)->GetFunction());
^
../src/node-spotify.cc:94:92: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’
module->Set(v8::String::NewSymbol("exports"), v8::FunctionTemplate::New(CreateNodespotify)->GetFunction());
^
../src/node-spotify.cc:94:92: note: candidate is:
In file included from ../src/objects/spotify/../node/V8Wrapped.h:4:0,
from ../src/objects/spotify/../node/V8Browseable.h:4,
from ../src/objects/spotify/Album.h:6,
from ../src/objects/spotify/Artist.h:5,
from ../src/objects/spotify/Track.h:4,
from ../src/objects/spotify/Player.h:4,
from ../src/Application.h:7,
from ../src/node-spotify.cc:1:
/home/anonymous/.node-gyp/0.12.0/deps/v8/include/v8.h:3455:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int)
static Local<FunctionTemplate> New(
^
/home/anonymous/.node-gyp/0.12.0/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&)’ to ‘v8::Isolate*’
In file included from ../src/objects/node/NodeSpotify.h:4:0,
from ../src/node-spotify.cc:4:
../src/objects/node/NodeWrapped.h: In instantiation of ‘static v8::Handle<v8::Function> NodeWrapped<T>::getConstructor() [with T = NodePlaylist]’:
../src/node-spotify.cc:28:64: required from here
../src/objects/node/NodeWrapped.h:32:12: error: could not convert ‘NodeWrapped<NodePlaylist>::constructor’ from ‘v8::Persistent<v8::Function>’ to ‘v8::Handle<v8::Function>’
return constructor;
^
../src/objects/node/NodeWrapped.h: In instantiation of ‘static v8::Handle<v8::Function> NodeWrapped<T>::getConstructor() [with T = NodeTrack]’:
../src/node-spotify.cc:29:58: required from here
../src/objects/node/NodeWrapped.h:32:12: error: could not convert ‘NodeWrapped<NodeTrack>::constructor’ from ‘v8::Persistent<v8::Function>’ to ‘v8::Handle<v8::Function>’
../src/objects/node/NodeWrapped.h: In instantiation of ‘static v8::Handle<v8::Function> NodeWrapped<T>::getConstructor() [with T = NodePlaylistContainer]’:
../src/node-spotify.cc:31:82: required from here
../src/objects/node/NodeWrapped.h:32:12: error: could not convert ‘NodeWrapped<NodePlaylistContainer>::constructor’ from ‘v8::Persistent<v8::Function>’ to ‘v8::Handle<v8::Function>’
../src/objects/node/NodeWrapped.h: In instantiation of ‘static v8::Handle<v8::Function> NodeWrapped<T>::getConstructor() [with T = NodeArtist]’:
../src/node-spotify.cc:32:60: required from here
../src/objects/node/NodeWrapped.h:32:12: error: could not convert ‘NodeWrapped<NodeArtist>::constructor’ from ‘v8::Persistent<v8::Function>’ to ‘v8::Handle<v8::Function>’
../src/objects/node/NodeWrapped.h: In instantiation of ‘static v8::Handle<v8::Function> NodeWrapped<T>::getConstructor() [with T = NodeAlbum]’:
../src/node-spotify.cc:33:58: required from here
../src/objects/node/NodeWrapped.h:32:12: error: could not convert ‘NodeWrapped<NodeAlbum>::constructor’ from ‘v8::Persistent<v8::Function>’ to ‘v8::Handle<v8::Function>’
../src/objects/node/NodeWrapped.h: In instantiation of ‘static v8::Handle<v8::Function> NodeWrapped<T>::getConstructor() [with T = NodeUser]’:
../src/node-spotify.cc:34:56: required from here
../src/objects/node/NodeWrapped.h:32:12: error: could not convert ‘NodeWrapped<NodeUser>::constructor’ from ‘v8::Persistent<v8::Function>’ to ‘v8::Handle<v8::Function>’
../src/objects/node/NodeWrapped.h: In instantiation of ‘static v8::Handle<v8::Function> NodeWrapped<T>::getConstructor() [with T = NodePlaylistFolder]’:
../src/node-spotify.cc:35:76: required from here
../src/objects/node/NodeWrapped.h:32:12: error: could not convert ‘NodeWrapped<NodePlaylistFolder>::constructor’ from ‘v8::Persistent<v8::Function>’ to ‘v8::Handle<v8::Function>’
../src/objects/node/NodeWrapped.h: In instantiation of ‘v8::Handle<v8::Object> NodeWrapped<T>::getV8Object() [with T = NodeSpotify]’:
../src/node-spotify.cc:82:63: required from here
../src/objects/node/NodeWrapped.h:26:7: error: ‘class NodeWrapped<NodeSpotify>’ has no member named ‘Wrap’
this->Wrap(o);
^
../src/objects/node/NodeWrapped.h: In instantiation of ‘static v8::Handle<v8::Function> NodeWrapped<T>::getConstructor() [with T = NodeSearch]’:
../src/node-spotify.cc:85:67: required from here
../src/objects/node/NodeWrapped.h:32:12: error: could not convert ‘NodeWrapped<NodeSearch>::constructor’ from ‘v8::Persistent<v8::Function>’ to ‘v8::Handle<v8::Function>’
return constructor;
^
../src/objects/node/NodeWrapped.h: In instantiation of ‘v8::Handle<v8::Object> NodeWrapped<T>::getV8Object() [with T = NodePlayer]’:
../src/node-spotify.cc:89:79: required from here
../src/objects/node/NodeWrapped.h:26:7: error: ‘class NodeWrapped<NodePlayer>’ has no member named ‘Wrap’
this->Wrap(o);
^
../src/node-spotify.cc: In function ‘v8::Handle<v8::Value> CreateNodespotify(const int&)’:
../src/node-spotify.cc:91:1: warning: control reaches end of non-void function [-Wreturn-type]
};
^
In file included from ../src/objects/node/NodeSpotify.h:4:0,
from ../src/node-spotify.cc:4:
../src/objects/node/NodeWrapped.h: In member function ‘v8::Handle<v8::Object> NodeWrapped<T>::getV8Object() [with T = NodeSpotify]’:
../src/objects/node/NodeWrapped.h:29:3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
../src/objects/node/NodeWrapped.h: In member function ‘v8::Handle<v8::Object> NodeWrapped<T>::getV8Object() [with T = NodePlayer]’:
../src/objects/node/NodeWrapped.h:29:3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
make: *** [Release/obj.target/nodespotify/src/node-spotify.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:267:23)
gyp ERR! stack at ChildProcess.emit (events.js:110:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1067:12)
gyp ERR! System Linux 3.13.0-45-generic
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/anonymous/Projects/Polymer/spotify/node_modules/node-spotify
gyp ERR! node -v v0.12.0
gyp ERR! node-gyp -v v1.0.2
gyp ERR! not ok
npm ERR! Linux 3.13.0-45-generic
npm ERR! argv "node" "/usr/local/bin/npm" "install" "node-spotify"
npm ERR! node v0.12.0
npm ERR! npm v2.6.1
npm ERR! code ELIFECYCLE
npm ERR! node-spotify@0.7.0 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-spotify@0.7.0 install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the node-spotify 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 node-spotify
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/anonymous/Projects/Polymer/spotify/npm-debug.log
Ok, you're using node.js 0.12.0 and node-spotify is not yet compatible with it. Please see #81 , I'm currently working on it. Until then unfortunately only node.js 0.10.x works.
Ok, thanks! :)
Please try again with version 0.7.1.
Other error: :/
../src/audio/alsa-audio.c:28:23: fatal error: asoundlib.h: No existe el archivo o el directorio
#include <asoundlib.h>
stack trace:
> node-spotify@0.7.1 install /home/anonymous/Projects/Polymer/spotify/node_modules/node-spotify
> node-gyp rebuild
child_process: customFds option is deprecated, use stdio instead.
make: se ingresa al directorio «/home/anonymous/Projects/Polymer/spotify/node_modules/node-spotify/build»
COPY Release/spotify.js
COPY Release/metadataUpdater.js
CXX(target) Release/obj.target/nodespotify/src/node-spotify.o
CC(target) Release/obj.target/nodespotify/src/audio/audio.o
CXX(target) Release/obj.target/nodespotify/src/audio/AudioHandler.o
CXX(target) Release/obj.target/nodespotify/src/audio/NodeAudioHandler.o
CXX(target) Release/obj.target/nodespotify/src/callbacks/PlaylistCallbacksHolder.o
CXX(target) Release/obj.target/nodespotify/src/callbacks/SessionCallbacks.o
CXX(target) Release/obj.target/nodespotify/src/callbacks/SessionCallbacks_Audio.o
CXX(target) Release/obj.target/nodespotify/src/callbacks/SearchCallbacks.o
CXX(target) Release/obj.target/nodespotify/src/callbacks/AlbumBrowseCallbacks.o
CXX(target) Release/obj.target/nodespotify/src/callbacks/ArtistBrowseCallbacks.o
CXX(target) Release/obj.target/nodespotify/src/callbacks/PlaylistContainerCallbacksHolder.o
CXX(target) Release/obj.target/nodespotify/src/utils/ImageUtils.o
CXX(target) Release/obj.target/nodespotify/src/utils/V8Utils.o
CXX(target) Release/obj.target/nodespotify/src/objects/spotify/Track.o
CXX(target) Release/obj.target/nodespotify/src/objects/spotify/Artist.o
CXX(target) Release/obj.target/nodespotify/src/objects/spotify/Playlist.o
CXX(target) Release/obj.target/nodespotify/src/objects/spotify/PlaylistContainer.o
CXX(target) Release/obj.target/nodespotify/src/objects/spotify/Album.o
CXX(target) Release/obj.target/nodespotify/src/objects/spotify/Search.o
CXX(target) Release/obj.target/nodespotify/src/objects/spotify/Spotify.o
CXX(target) Release/obj.target/nodespotify/src/objects/spotify/Player.o
CXX(target) Release/obj.target/nodespotify/src/objects/spotify/PlaylistFolder.o
CXX(target) Release/obj.target/nodespotify/src/objects/spotify/User.o
CXX(target) Release/obj.target/nodespotify/src/objects/spotify/TrackExtended.o
CXX(target) Release/obj.target/nodespotify/src/objects/node/NodeTrack.o
CXX(target) Release/obj.target/nodespotify/src/objects/node/NodeArtist.o
CXX(target) Release/obj.target/nodespotify/src/objects/node/NodePlaylist.o
CXX(target) Release/obj.target/nodespotify/src/objects/node/NodeAlbum.o
CXX(target) Release/obj.target/nodespotify/src/objects/node/NodePlayer.o
CXX(target) Release/obj.target/nodespotify/src/objects/node/NodeSearch.o
CXX(target) Release/obj.target/nodespotify/src/objects/node/NodeSpotify.o
CXX(target) Release/obj.target/nodespotify/src/objects/node/NodePlaylistFolder.o
CXX(target) Release/obj.target/nodespotify/src/objects/node/NodePlaylistContainer.o
CXX(target) Release/obj.target/nodespotify/src/objects/node/NodeUser.o
CXX(target) Release/obj.target/nodespotify/src/objects/node/NodeTrackExtended.o
CC(target) Release/obj.target/nodespotify/src/audio/alsa-audio.o
../src/audio/alsa-audio.c:28:23: fatal error: asoundlib.h: No existe el archivo o el directorio
#include <asoundlib.h>
^
compilation terminated.
make: *** [Release/obj.target/nodespotify/src/audio/alsa-audio.o] Error 1
make: se sale del directorio «/home/anonymous/Projects/Polymer/spotify/node_modules/node-spotify/build»
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:267:23)
gyp ERR! stack at ChildProcess.emit (events.js:110:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1067:12)
gyp ERR! System Linux 3.13.0-45-generic
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/anonymous/Projects/Polymer/spotify/node_modules/node-spotify
gyp ERR! node -v v0.12.0
gyp ERR! node-gyp -v v1.0.2
gyp ERR! not ok
npm ERR! Linux 3.13.0-45-generic
npm ERR! argv "node" "/usr/local/bin/npm" "install" "node-spotify"
npm ERR! node v0.12.0
npm ERR! npm v2.6.1
npm ERR! code ELIFECYCLE
npm ERR! node-spotify@0.7.1 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-spotify@0.7.1 install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the node-spotify 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 node-spotify
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/anonymous/Projects/Polymer/spotify/npm-debug.log
Try installing libasound2-dev!
greats! Works! :) thanks.
Fail when try to install via npm
npm install node-spotify
I try with node v0.10.25 and v0.12