Closed daweedm closed 9 years ago
I think this may be regarding your installation of libspotify. As far as I know, libspotify is not being installed correctly with brew. Try to install it from source
Thanks for your help. When I look in the /usr/local/opt/libspotify/lib/ repertory, I found the following files : libspotify.12.1.51.dylib, libspotify.12.dylib, libspotify.dylib and pkgconfig. Maybe if I rename one of these to "libspotify" (according to the node stacktrace, that's the missing file : /usr/local/opt/libspotify/lib/libspotify) ?
I think this could work
This worked for me, thanks
Hi, when I launch app.js I get the following error :
/Users/Daweed/Desktop/Spotijay-master/node_modules/libspotify/node_modules/bindings/bindings.js:83 throw e ^ Error: dlopen(/Users/Daweed/Desktop/Spotijay-master/node_modules/libspotify/build/Release/spotify.node, 1): Library not loaded: /usr/local/opt/libspotify/lib/libspotify Referenced from: /Users/Daweed/Desktop/Spotijay-master/node_modules/libspotify/build/Release/spotify.node Reason: image not found 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 (/Users/Daweed/Desktop/Spotijay-master/node_modules/libspotify/node_modules/bindings/bindings.js:76:44) at Object. (/Users/Daweed/Desktop/Spotijay-master/node_modules/libspotify/lib/Album.js:1:90)
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)
Any idea ? Thanks a lot !