airsonos icon indicating copy to clipboard operation
airsonos copied to clipboard

airsonos on mac 10.12.2

Open rajeevtom opened this issue 8 years ago • 16 comments

Hi Stephen n others,

airsonos is a solution of my biggest problem it seems :-) I am trying to install airsonos on my mac and getting following error. I tried playing with different versions of node.js but of no use. Any help will be highly appreciated.

rajeevs-air:airsonos root# node -v v6.9.2 rajeevs-air:airsonos root# npm -v 3.10.9

rajeevs-air:airsonos root# npm install -g npm WARN cannot run in wd [email protected] babel ./lib/ -d ./bin/ (wd=/Users/rajeev/airsonos) npm WARN engine [email protected]: wanted: {"node":"0.12.x"} (current: {"node":"4.0.0","npm":"2.14.2"}) npm WARN deprecated [email protected]: use serve-favicon module npm WARN deprecated [email protected]: use uuid module instead npm WARN deprecated [email protected]: react-tools is deprecated. For more information, visit https://fb.me/react-tools-deprecated |

[email protected] install /usr/local/lib/node_modules/airsonos/node_modules/nodetunes/node_modules/mdns node-gyp rebuild

shell-init: error retrieving current directory: getcwd: cannot access parent directories: Permission denied sh: node-gyp: command not found

[email protected] install /usr/local/lib/node_modules/airsonos/node_modules/nodetunes/node_modules/alac2pcm/node_modules/libalac node-gyp rebuild

shell-init: error retrieving current directory: getcwd: cannot access parent directories: Permission denied sh: node-gyp: command not found npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue

[email protected] install /usr/local/lib/node_modules/airsonos/node_modules/babel/node_modules/chokidar/node_modules/fsevents node-pre-gyp install --fallback-to-build

shell-init: error retrieving current directory: getcwd: cannot access parent directories: Permission denied sh: node-pre-gyp: command not found npm WARN optional dep failed, continuing [email protected]

[email protected] install /usr/local/lib/node_modules/airsonos/node_modules/nicercast/node_modules/lame node-gyp rebuild

shell-init: error retrieving current directory: getcwd: cannot access parent directories: Permission denied sh: node-gyp: command not found npm ERR! Darwin 16.3.0 npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" npm ERR! node v4.0.0 npm ERR! npm v2.14.2 npm ERR! file sh npm ERR! code ELIFECYCLE npm ERR! errno ENOENT npm ERR! syscall spawn

npm ERR! [email protected] install: node-gyp rebuild npm ERR! spawn ENOENT npm ERR! npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'. npm ERR! This is most likely a problem with the mdns 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 mdns npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request: npm ERR! /Users/rajeev/airsonos/npm-debug.log rajeevs-air:airsonos root# npm install -g npm ERR! Darwin 16.3.0 npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" npm ERR! node v6.9.2 npm ERR! npm v3.10.9 npm ERR! code MODULE_NOT_FOUND

npm ERR! Cannot find module 'github-url-from-git' npm ERR! npm ERR! If you need help, you may report this error at: npm ERR! https://github.com/npm/npm/issues

npm ERR! Please include the following file with any support request: npm ERR! /Users/rajeev/airsonos/npm-debug.log rajeevs-air:airsonos root# node -v v6.9.2 rajeevs-air:airsonos root# npm -v 3.10.9 rajeevs-air:airsonos root#

Thanks and Regards Rajeev

rajeevtom avatar Jan 03 '17 11:01 rajeevtom

@rajeevtom

It seems this project is dead at the moment. I have forked the repository and it's dependencies here: https://github.com/tomodwyer/airsonos - could you try following the install instructions from there and let me know if that works?

I just testing using your version of Node with my copy and everything seems to work :+1:

tomodwyer avatar Jan 11 '17 18:01 tomodwyer

Hi Tom

Million thanks for your reply. I tried as per your instructions but it is still not working, it is asking for some module as shown below :

rajeevs-air:rajeev root# rm -rf airsonos rajeevs-air:rajeev root# node -v v7.4.0 rajeevs-air:rajeev root# npm -v 4.0.5 rajeevs-air:rajeev root# git clone https://github.com/tomodwyer/airsonos.git Cloning into 'airsonos'... remote: Counting objects: 539, done. remote: Compressing objects: 100% (56/56), done. remote: Total 539 (delta 26), reused 0 (delta 0), pack-reused 481 Receiving objects: 100% (539/539), 752.23 KiB | 779.00 KiB/s, done. Resolving deltas: 100% (267/267), done. rajeevs-air:rajeev root# cd airsonos/ rajeevs-air:airsonos root# npm install npm ERR! Darwin 16.3.0 npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" npm ERR! node v7.4.0 npm ERR! npm v4.0.5 npm ERR! code MODULE_NOT_FOUND

npm ERR! Cannot find module 'github-url-from-git' npm ERR! npm ERR! If you need help, you may report this error at: npm ERR! https://github.com/npm/npm/issues

npm ERR! Please include the following file with any support request: npm ERR! /Users/rajeev/airsonos/npm-debug.log rajeevs-air:airsonos root#

am i doing something wrong ? My MacBook Air iOS Sierra Version is 10.12.2

Regards Rajeev

rajeevtom avatar Jan 11 '17 21:01 rajeevtom

Looks like that's an issue with the npm install rather than the module. As a starting point could you try the solution from here: https://github.com/npm/npm/issues/14026#issuecomment-269422830

tomodwyer avatar Jan 11 '17 21:01 tomodwyer

Hi Tom

I googled for my error and found the tip that I should completely remove nom directory first and then do the installation again. I did it and its looking better with few warnings. Can you please have a fast look into the log below, just to cross check that you also think its working fine. what is absolute path of node.js ?

As I am getting problem in starting node.js in the end

rajeevs-air:node_modules rajeev$ sudo rm -rf * Password: rajeevs-air:node_modules rajeev$ sudo su - rajeevs-air:~ root# pwd /var/root rajeevs-air:~ root# cd rajeevs-air:~ root# pwd /var/root rajeevs-air:~ root# cd /users rajeevs-air:users root# cd rajeev rajeevs-air:rajeev root# ls .CFUserTextEncoding .bash_history .cups Desktop Google Drive Music airsonos .DS_Store .bash_sessions .npm Documents Library Pictures npm-debug.log .Trash .config .subversion Downloads Movies Public rajeevs-air:rajeev root# rm -rf airsonos/ rajeevs-air:rajeev root# git clone https://github.com/tomodwyer/airsonos.git Cloning into 'airsonos'... remote: Counting objects: 539, done. remote: Compressing objects: 100% (56/56), done. remote: Total 539 (delta 26), reused 0 (delta 0), pack-reused 481 Receiving objects: 100% (539/539), 752.23 KiB | 643.00 KiB/s, done. Resolving deltas: 100% (267/267), done. rajeevs-air:rajeev root# cd airsonos/ rajeevs-air:airsonos root# npm install npm WARN deprecated [email protected]: react-tools is deprecated. For more information, visit https://fb.me/react-tools-deprecated npm WARN deprecated [email protected]: use uuid module instead npm WARN prefer global [email protected] should be installed with -g npm WARN prefer global [email protected] should be installed with -g

[email protected] install /Users/rajeev/airsonos/node_modules/mdns node-gyp rebuild

CXX(target) Release/obj.target/dns_sd_bindings/src/dns_sd.o CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_browse.o CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_enumerate_domains.o CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_get_addr_info.o CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_process_result.o CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_ref.o CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_ref_deallocate.o CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_ref_sock_fd.o CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_register.o CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_resolve.o CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_update_record.o CXX(target) Release/obj.target/dns_sd_bindings/src/mdns_utils.o CXX(target) Release/obj.target/dns_sd_bindings/src/network_interface.o CXX(target) Release/obj.target/dns_sd_bindings/src/socket_watcher.o CXX(target) Release/obj.target/dns_sd_bindings/src/txt_record_ref.o CXX(target) Release/obj.target/dns_sd_bindings/src/txt_record_create.o CXX(target) Release/obj.target/dns_sd_bindings/src/txt_record_deallocate.o CXX(target) Release/obj.target/dns_sd_bindings/src/txt_record_set_value.o CXX(target) Release/obj.target/dns_sd_bindings/src/txt_record_get_length.o CXX(target) Release/obj.target/dns_sd_bindings/src/txt_record_buffer_to_object.o SOLINK_MODULE(target) Release/dns_sd_bindings.node

[email protected] install /Users/rajeev/airsonos/node_modules/fsevents node-pre-gyp install --fallback-to-build

[fsevents] Success: "/Users/rajeev/airsonos/node_modules/fsevents/lib/binding/Release/node-v51-darwin-x64/fse.node" is installed via remote

[email protected] install /Users/rajeev/airsonos/node_modules/libalac node-gyp rebuild

CC(target) Release/obj.target/binding/ALAC/codec/EndianPortable.o CC(target) Release/obj.target/binding/ALAC/codec/ALACBitUtilities.o CXX(target) Release/obj.target/binding/ALAC/codec/ALACDecoder.o ../ALAC/codec/ALACDecoder.cpp:38:16: warning: unused variable 'kMaxBitDepth' [-Wunused-const-variable] const uint32_t kMaxBitDepth = 32; // max allowed bit depth is 32 ^ 1 warning generated. CXX(target) Release/obj.target/binding/ALAC/codec/ALACEncoder.o ../ALAC/codec/ALACEncoder.cpp:1216:38: warning: missing field 'compatibleVersion' initializer [-Wmissing-field-initializers] ALACSpecificConfig theConfig = {0}; ^ ../ALAC/codec/ALACEncoder.cpp:1217:49: warning: missing field 'mChannelBitmap' initializer [-Wmissing-field-initializers] ALACAudioChannelLayout theChannelLayout = {0}; ^ ../ALAC/codec/ALACEncoder.cpp:48:16: warning: unused variable 'kALACEncoderMagic' [-Wunused-const-variable] const uint32_t kALACEncoderMagic = 'dpge'; ^ ../ALAC/codec/ALACEncoder.cpp:94:23: warning: unused variable 'sSupportediPodSampleRates' [-Wunused-const-variable] static const uint32_t sSupportediPodSampleRates[] = ^ 4 warnings generated. CC(target) Release/obj.target/binding/ALAC/codec/ag_dec.o ../ALAC/codec/ag_dec.c:299:14: warning: comparison of integers of different signs: 'uint32_t' (aka 'unsigned int') and 'int32_t' (aka 'int') [-Wsign-compare] while (c < numSamples) ~ ^ ~~~~~~~~~~ ../ALAC/codec/ag_dec.c:333:44: warning: comparison of integers of different signs: 'uint32_t' (aka 'unsigned int') and 'int32_t' (aka 'int') [-Wsign-compare] if (((mb << MMULSHIFT) < QB) && (c < numSamples)) ~ ^ ~~~~~~~~~~ ../ALAC/codec/ag_dec.c:341:31: warning: comparison of integers of different signs: 'unsigned int' and 'int32_t' (aka 'int') [-Wsign-compare] RequireAction(c+n <= numSamples, status = kALAC_ParamError; goto Exit; ); ~~~ ^ ~~~~~~~~~~ ../ALAC/codec/ALACBitUtilities.h:43:50: note: expanded from macro 'RequireAction' #define RequireAction(condition, action) if (!(condition)) { action } ^~~~~~~~~ 3 warnings generated. CC(target) Release/obj.target/binding/ALAC/codec/ag_enc.o ../ALAC/codec/ag_enc.c:284:14: warning: comparison of integers of different signs: 'uint32_t' (aka 'unsigned int') and 'int32_t' (aka 'int') [-Wsign-compare] while (c < numSamples) ~ ^ ~~~~~~~~~~ ../ALAC/codec/ag_enc.c:328:25: warning: comparison of integers of different signs: 'uint32_t' (aka 'unsigned int') and 'int32_t' (aka 'int') [-Wsign-compare] RequireAction(c <= numSamples, status = kALAC_ParamError; goto Exit; ); ~ ^ ~~~~~~~~~~ ../ALAC/codec/ALACBitUtilities.h:43:50: note: expanded from macro 'RequireAction' #define RequireAction(condition, action) if (!(condition)) { action } ^~~~~~~~~ ../ALAC/codec/ag_enc.c:330:44: warning: comparison of integers of different signs: 'uint32_t' (aka 'unsigned int') and 'int32_t' (aka 'int') [-Wsign-compare] if (((mb << MMULSHIFT) < QB) && (c < numSamples)) ~ ^ ~~~~~~~~~~ ../ALAC/codec/ag_enc.c:335:20: warning: comparison of integers of different signs: 'uint32_t' (aka 'unsigned int') and 'int32_t' (aka 'int') [-Wsign-compare] while(c<numSamples && *inPtr == 0) ~^~~~~~~~~~~ ../ALAC/codec/ag_enc.c:101:38: warning: unused function 'read32bit' [-Wunused-function] static inline uint32_t ALWAYS_INLINE read32bit( uint8_t * buffer ) ^ 5 warnings generated. CC(target) Release/obj.target/binding/ALAC/codec/dp_dec.o CC(target) Release/obj.target/binding/ALAC/codec/dp_enc.o CC(target) Release/obj.target/binding/ALAC/codec/matrix_dec.o CC(target) Release/obj.target/binding/ALAC/codec/matrix_enc.o CXX(target) Release/obj.target/binding/binding.o SOLINK_MODULE(target) Release/binding.node

[email protected] install /Users/rajeev/airsonos/node_modules/lame node-gyp rebuild

deps/mpg123/test.target.mk:166: warning: overriding commands for target Release/test' deps/lame/test.target.mk:174: warning: ignoring old commands for target Release/test' CC(target) Release/obj.target/mp3lame/deps/lame/libmp3lame/VbrTag.o ../deps/lame/libmp3lame/VbrTag.c:263:5: warning: shifting a negative signed value is undefined [-Wshift-negative-value] SHIFT_IN_BITS_VALUE(buffer[0], 8u, 0xffu); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../deps/lame/libmp3lame/VbrTag.c:254:68: note: expanded from macro 'SHIFT_IN_BITS_VALUE' #define SHIFT_IN_BITS_VALUE(x,n,v) ( x = (x << (n)) | ( (v) & ~(-1 << (n)) ) ) ~~ ^ ../deps/lame/libmp3lame/VbrTag.c:265:5: warning: shifting a negative signed value is undefined [-Wshift-negative-value] SHIFT_IN_BITS_VALUE(buffer[1], 3u, 7); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../deps/lame/libmp3lame/VbrTag.c:254:68: note: expanded from macro 'SHIFT_IN_BITS_VALUE' #define SHIFT_IN_BITS_VALUE(x,n,v) ( x = (x << (n)) | ( (v) & ~(-1 << (n)) ) ) ~~ ^ ../deps/lame/libmp3lame/VbrTag.c:266:5: warning: shifting a negative signed value is undefined [-Wshift-negative-value] SHIFT_IN_BITS_VALUE(buffer[1], 1u, (cfg->samplerate_out < 16000) ? 0 : 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../deps/lame/libmp3lame/VbrTag.c:254:68: note: expanded from macro 'SHIFT_IN_BITS_VALUE' #define SHIFT_IN_BITS_VALUE(x,n,v) ( x = (x << (n)) | ( (v) & ~(-1 << (n)) ) ) ~~ ^ ../deps/lame/libmp3lame/VbrTag.c:267:5: warning: shifting a negative signed value is undefined [-Wshift-negative-value] SHIFT_IN_BITS_VALUE(buffer[1], 1u, cfg->version); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../deps/lame/libmp3lame/VbrTag.c:254:68: note: expanded from macro 'SHIFT_IN_BITS_VALUE' #define SHIFT_IN_BITS_VALUE(x,n,v) ( x = (x << (n)) | ( (v) & ~(-1 << (n)) ) ) ~~ ^ ../deps/lame/libmp3lame/VbrTag.c:268:5: warning: shifting a negative signed value is undefined [-Wshift-negative-value] SHIFT_IN_BITS_VALUE(buffer[1], 2u, 4 - 3); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../deps/lame/libmp3lame/VbrTag.c:254:68: note: expanded from macro 'SHIFT_IN_BITS_VALUE' #define SHIFT_IN_BITS_VALUE(x,n,v) ( x = (x << (n)) | ( (v) & ~(-1 << (n)) ) ) ~~ ^ ../deps/lame/libmp3lame/VbrTag.c:269:5: warning: shifting a negative signed value is undefined [-Wshift-negative-value] SHIFT_IN_BITS_VALUE(buffer[1], 1u, (!cfg->error_protection) ? 1 : 0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../deps/lame/libmp3lame/VbrTag.c:254:68: note: expanded from macro 'SHIFT_IN_BITS_VALUE' #define SHIFT_IN_BITS_VALUE(x,n,v) ( x = (x << (n)) | ( (v) & ~(-1 << (n)) ) ) ~~ ^ ../deps/lame/libmp3lame/VbrTag.c:271:5: warning: shifting a negative signed value is undefined [-Wshift-negative-value] SHIFT_IN_BITS_VALUE(buffer[2], 4u, eov->bitrate_index); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../deps/lame/libmp3lame/VbrTag.c:254:68: note: expanded from macro 'SHIFT_IN_BITS_VALUE' #define SHIFT_IN_BITS_VALUE(x,n,v) ( x = (x << (n)) | ( (v) & ~(-1 << (n)) ) ) ~~ ^ ../deps/lame/libmp3lame/VbrTag.c:272:5: warning: shifting a negative signed value is undefined [-Wshift-negative-value] SHIFT_IN_BITS_VALUE(buffer[2], 2u, cfg->samplerate_index); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../deps/lame/libmp3lame/VbrTag.c:254:68: note: expanded from macro 'SHIFT_IN_BITS_VALUE' #define SHIFT_IN_BITS_VALUE(x,n,v) ( x = (x << (n)) | ( (v) & ~(-1 << (n)) ) ) ~~ ^ ../deps/lame/libmp3lame/VbrTag.c:273:5: warning: shifting a negative signed value is undefined [-Wshift-negative-value] SHIFT_IN_BITS_VALUE(buffer[2], 1u, 0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../deps/lame/libmp3lame/VbrTag.c:254:68: note: expanded from macro 'SHIFT_IN_BITS_VALUE' #define SHIFT_IN_BITS_VALUE(x,n,v) ( x = (x << (n)) | ( (v) & ~(-1 << (n)) ) ) ~~ ^ ../deps/lame/libmp3lame/VbrTag.c:274:5: warning: shifting a negative signed value is undefined [-Wshift-negative-value] SHIFT_IN_BITS_VALUE(buffer[2], 1u, cfg->extension); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../deps/lame/libmp3lame/VbrTag.c:254:68: note: expanded from macro 'SHIFT_IN_BITS_VALUE' #define SHIFT_IN_BITS_VALUE(x,n,v) ( x = (x << (n)) | ( (v) & ~(-1 << (n)) ) ) ~~ ^ ../deps/lame/libmp3lame/VbrTag.c:276:5: warning: shifting a negative signed value is undefined [-Wshift-negative-value] SHIFT_IN_BITS_VALUE(buffer[3], 2u, cfg->mode); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../deps/lame/libmp3lame/VbrTag.c:254:68: note: expanded from macro 'SHIFT_IN_BITS_VALUE' #define SHIFT_IN_BITS_VALUE(x,n,v) ( x = (x << (n)) | ( (v) & ~(-1 << (n)) ) ) ~~ ^ ../deps/lame/libmp3lame/VbrTag.c:277:5: warning: shifting a negative signed value is undefined [-Wshift-negative-value] SHIFT_IN_BITS_VALUE(buffer[3], 2u, eov->mode_ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../deps/lame/libmp3lame/VbrTag.c:254:68: note: expanded from macro 'SHIFT_IN_BITS_VALUE' #define SHIFT_IN_BITS_VALUE(x,n,v) ( x = (x << (n)) | ( (v) & ~(-1 << (n)) ) ) ~~ ^ ../deps/lame/libmp3lame/VbrTag.c:278:5: warning: shifting a negative signed value is undefined [-Wshift-negative-value] SHIFT_IN_BITS_VALUE(buffer[3], 1u, cfg->copyright); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../deps/lame/libmp3lame/VbrTag.c:254:68: note: expanded from macro 'SHIFT_IN_BITS_VALUE' #define SHIFT_IN_BITS_VALUE(x,n,v) ( x = (x << (n)) | ( (v) & ~(-1 << (n)) ) ) ~~ ^ ../deps/lame/libmp3lame/VbrTag.c:279:5: warning: shifting a negative signed value is undefined [-Wshift-negative-value] SHIFT_IN_BITS_VALUE(buffer[3], 1u, cfg->original); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../deps/lame/libmp3lame/VbrTag.c:254:68: note: expanded from macro 'SHIFT_IN_BITS_VALUE' #define SHIFT_IN_BITS_VALUE(x,n,v) ( x = (x << (n)) | ( (v) & ~(-1 << (n)) ) ) ~~ ^ ../deps/lame/libmp3lame/VbrTag.c:280:5: warning: shifting a negative signed value is undefined [-Wshift-negative-value] SHIFT_IN_BITS_VALUE(buffer[3], 2u, cfg->emphasis); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../deps/lame/libmp3lame/VbrTag.c:254:68: note: expanded from macro 'SHIFT_IN_BITS_VALUE' #define SHIFT_IN_BITS_VALUE(x,n,v) ( x = (x << (n)) | ( (v) & ~(-1 << (n)) ) ) ~~ ^ ../deps/lame/libmp3lame/VbrTag.c:430:23: warning: comparison of array 'pTagData->toc' not equal to a null pointer is always true [-Wtautological-pointer-compare] if (pTagData->toc != NULL) { ~~~~~~~~~~^~~ ~~~~ 16 warnings generated. CC(target) Release/obj.target/mp3lame/deps/lame/libmp3lame/bitstream.o ../deps/lame/libmp3lame/bitstream.c:990:34: warning: unused variable 'cfg' [-Wunused-variable] SessionConfig_t const const cfg = &gfc->cfg; ^ ../deps/lame/libmp3lame/bitstream.c:991:32: warning: unused variable 'rsv' [-Wunused-variable] RpgStateVar_t const const rsv = &gfc->sv_rpg; ^ ../deps/lame/libmp3lame/bitstream.c:992:24: warning: unused variable 'rov' [-Wunused-variable] RpgResult_t const rov = &gfc->ov_rpg; ^ 3 warnings generated. CC(target) Release/obj.target/mp3lame/deps/lame/libmp3lame/encoder.o CC(target) Release/obj.target/mp3lame/deps/lame/libmp3lame/fft.o CC(target) Release/obj.target/mp3lame/deps/lame/libmp3lame/gain_analysis.o CC(target) Release/obj.target/mp3lame/deps/lame/libmp3lame/id3tag.o CC(target) Release/obj.target/mp3lame/deps/lame/libmp3lame/lame.o ../deps/lame/libmp3lame/lame.c:628:13: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] if (EQ(gfp->compression_ratio, 0)) ^ ../deps/lame/libmp3lame/machine.h:168:12: note: expanded from macro 'EQ' (fabs(a) > fabs(b))
^ ../deps/lame/libmp3lame/lame.c:628:13: note: use function 'abs' instead ../deps/lame/libmp3lame/machine.h:168:12: note: expanded from macro 'EQ' (fabs(a) > fabs(b))
^ ../deps/lame/libmp3lame/lame.c:628:13: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] if (EQ(gfp->compression_ratio, 0)) ^ ../deps/lame/libmp3lame/machine.h:170:23: note: expanded from macro 'EQ' : (fabs((a)-(b)) <= (fabs(b) * 1e-6f))) ^ ../deps/lame/libmp3lame/lame.c:628:13: note: use function 'abs' instead ../deps/lame/libmp3lame/machine.h:170:23: note: expanded from macro 'EQ' : (fabs((a)-(b)) <= (fabs(b) * 1e-6f))) ^ ../deps/lame/libmp3lame/lame.c:1596:13: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] if (NEQ(RadioGain, GAIN_NOT_ENOUGH_SAMPLES)) { ^ ../deps/lame/libmp3lame/machine.h:175:20: note: expanded from macro 'NEQ' #define NEQ(a,b) (!EQ(a,b)) ^ ../deps/lame/libmp3lame/machine.h:168:12: note: expanded from macro 'EQ' (fabs(a) > fabs(b))
^ ../deps/lame/libmp3lame/lame.c:1596:13: note: use function 'abs' instead ../deps/lame/libmp3lame/machine.h:175:20: note: expanded from macro 'NEQ' #define NEQ(a,b) (!EQ(a,b)) ^ ../deps/lame/libmp3lame/machine.h:168:12: note: expanded from macro 'EQ' (fabs(a) > fabs(b))
^ ../deps/lame/libmp3lame/lame.c:1596:13: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] if (NEQ(RadioGain, GAIN_NOT_ENOUGH_SAMPLES)) { ^ ../deps/lame/libmp3lame/machine.h:175:20: note: expanded from macro 'NEQ' #define NEQ(a,b) (!EQ(a,b)) ^ ../deps/lame/libmp3lame/machine.h:170:23: note: expanded from macro 'EQ' : (fabs((a)-(b)) <= (fabs(b) * 1e-6f))) ^ ../deps/lame/libmp3lame/lame.c:1596:13: note: use function 'abs' instead ../deps/lame/libmp3lame/machine.h:175:20: note: expanded from macro 'NEQ' #define NEQ(a,b) (!EQ(a,b)) ^ ../deps/lame/libmp3lame/machine.h:170:23: note: expanded from macro 'EQ' : (fabs((a)-(b)) <= (fabs(b) * 1e-6f))) ^ 4 warnings generated. CC(target) Release/obj.target/mp3lame/deps/lame/libmp3lame/newmdct.o CC(target) Release/obj.target/mp3lame/deps/lame/libmp3lame/presets.o ../deps/lame/libmp3lame/presets.c:170:5: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] SET_OPTION(quant_comp, set->quant_comp, -1); ^ ../deps/lame/libmp3lame/presets.c:36:16: note: expanded from macro 'SET_OPTION' else if (!(fabs(lame_get_##opt(gfp) - def) > 0))
^ ../deps/lame/libmp3lame/presets.c:170:5: note: use function 'abs' instead ../deps/lame/libmp3lame/presets.c:36:16: note: expanded from macro 'SET_OPTION' else if (!(fabs(lame_get_##opt(gfp) - def) > 0))
^ ../deps/lame/libmp3lame/presets.c:171:5: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] SET_OPTION(quant_comp_short, set->quant_comp_s, -1); ^ ../deps/lame/libmp3lame/presets.c:36:16: note: expanded from macro 'SET_OPTION' else if (!(fabs(lame_get_##opt(gfp) - def) > 0))
^ ../deps/lame/libmp3lame/presets.c:171:5: note: use function 'abs' instead ../deps/lame/libmp3lame/presets.c:36:16: note: expanded from macro 'SET_OPTION' else if (!(fabs(lame_get_##opt(gfp) - def) > 0))
^ ../deps/lame/libmp3lame/presets.c:280:5: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] SET_OPTION(quant_comp, abr_switch_map[r].quant_comp, -1); ^ ../deps/lame/libmp3lame/presets.c:36:16: note: expanded from macro 'SET_OPTION' else if (!(fabs(lame_get_##opt(gfp) - def) > 0))
^ ../deps/lame/libmp3lame/presets.c:280:5: note: use function 'abs' instead ../deps/lame/libmp3lame/presets.c:36:16: note: expanded from macro 'SET_OPTION' else if (!(fabs(lame_get_##opt(gfp) - def) > 0))
^ ../deps/lame/libmp3lame/presets.c:281:5: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] SET_OPTION(quant_comp_short, abr_switch_map[r].quant_comp_s, -1); ^ ../deps/lame/libmp3lame/presets.c:36:16: note: expanded from macro 'SET_OPTION' else if (!(fabs(lame_get_##opt(gfp) - def) > 0))
^ ../deps/lame/libmp3lame/presets.c:281:5: note: use function 'abs' instead ../deps/lame/libmp3lame/presets.c:36:16: note: expanded from macro 'SET_OPTION' else if (!(fabs(lame_get_##opt(gfp) - def) > 0))
^ 4 warnings generated. CC(target) Release/obj.target/mp3lame/deps/lame/libmp3lame/psymodel.o CC(target) Release/obj.target/mp3lame/deps/lame/libmp3lame/quantize.o CC(target) Release/obj.target/mp3lame/deps/lame/libmp3lame/quantize_pvt.o CC(target) Release/obj.target/mp3lame/deps/lame/libmp3lame/reservoir.o CC(target) Release/obj.target/mp3lame/deps/lame/libmp3lame/set_get.o CC(target) Release/obj.target/mp3lame/deps/lame/libmp3lame/tables.o CC(target) Release/obj.target/mp3lame/deps/lame/libmp3lame/takehiro.o CC(target) Release/obj.target/mp3lame/deps/lame/libmp3lame/util.o CC(target) Release/obj.target/mp3lame/deps/lame/libmp3lame/vbrquantize.o CC(target) Release/obj.target/mp3lame/deps/lame/libmp3lame/version.o LIBTOOL-STATIC Release/libmp3lame.a CC(target) Release/obj.target/mpg123/deps/mpg123/src/libmpg123/compat.o CC(target) Release/obj.target/mpg123/deps/mpg123/src/libmpg123/parse.o ../deps/mpg123/src/libmpg123/parse.c:184:27: warning: comparison of integers of different signs: 'off_t' (aka 'long long') and 'unsigned long' [-Wsign-compare] if(fr->track_frames > TRACK_MAX_FRAMES) fr->track_frames = 0; /
endless stream? / ~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~ 1 warning generated. CC(target) Release/obj.target/mpg123/deps/mpg123/src/libmpg123/frame.o ../deps/mpg123/src/libmpg123/frame.c:285:28: warning: comparison of integers of different signs: 'unsigned long' and 'int' [-Wsign-compare] if(22
0x110
sizeof(real) > buffssize) ~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ 1 warning generated. CC(target) Release/obj.target/mpg123/deps/mpg123/src/libmpg123/format.o CC(target) Release/obj.target/mpg123/deps/mpg123/src/libmpg123/dct64.o CC(target) Release/obj.target/mpg123/deps/mpg123/src/libmpg123/equalizer.o CC(target) Release/obj.target/mpg123/deps/mpg123/src/libmpg123/id3.o CC(target) Release/obj.target/mpg123/deps/mpg123/src/libmpg123/optimize.o CC(target) Release/obj.target/mpg123/deps/mpg123/src/libmpg123/readers.o ../deps/mpg123/src/libmpg123/readers.c:856:11: warning: comparison of integers of different signs: 'ssize_t' (aka 'long') and 'unsigned long' [-Wsign-compare] if(got < sizeof(readbuf)) /* That naturally catches got == 0, too. / ~~~ ^ ~~~~~~~~~~~~~~~ 1 warning generated. CC(target) Release/obj.target/mpg123/deps/mpg123/src/libmpg123/tabinit.o CC(target) Release/obj.target/mpg123/deps/mpg123/src/libmpg123/libmpg123.o ../deps/mpg123/src/libmpg123/libmpg123.c:1581:29: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] if(errcode >= 0 && errcode < sizeof(mpg123_error)/sizeof(char)) ~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. CC(target) Release/obj.target/mpg123/deps/mpg123/src/libmpg123/index.o CC(target) Release/obj.target/mpg123/deps/mpg123/src/libmpg123/stringbuf.o CC(target) Release/obj.target/mpg123/deps/mpg123/src/libmpg123/icy.o CC(target) Release/obj.target/mpg123/deps/mpg123/src/libmpg123/icy2utf8.o CC(target) Release/obj.target/mpg123/deps/mpg123/src/libmpg123/ntom.o CC(target) Release/obj.target/mpg123/deps/mpg123/src/libmpg123/synth.o CC(target) Release/obj.target/mpg123/deps/mpg123/src/libmpg123/synth_8bit.o CC(target) Release/obj.target/mpg123/deps/mpg123/src/libmpg123/layer1.o CC(target) Release/obj.target/mpg123/deps/mpg123/src/libmpg123/layer2.o CC(target) Release/obj.target/mpg123/deps/mpg123/src/libmpg123/layer3.o ../deps/mpg123/src/libmpg123/layer3.c:804:6: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] REFRESH_MASK; ^~~~~~~~~~~~ ../deps/mpg123/src/libmpg123/layer3.c:695:12: note: expanded from macro 'REFRESH_MASK' while(num < BITSHIFT) {
~~~ ^ ~~~~~~~~ ../deps/mpg123/src/libmpg123/layer3.c:818:6: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] REFRESH_MASK; ^~~~~~~~~~~~ ../deps/mpg123/src/libmpg123/layer3.c:695:12: note: expanded from macro 'REFRESH_MASK' while(num < BITSHIFT) {
~~~ ^ ~~~~~~~~ ../deps/mpg123/src/libmpg123/layer3.c:842:6: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] REFRESH_MASK; ^~~~~~~~~~~~ ../deps/mpg123/src/libmpg123/layer3.c:695:12: note: expanded from macro 'REFRESH_MASK' while(num < BITSHIFT) {
~~~ ^ ~~~~~~~~ ../deps/mpg123/src/libmpg123/layer3.c:890:4: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] REFRESH_MASK; ^~~~~~~~~~~~ ../deps/mpg123/src/libmpg123/layer3.c:695:12: note: expanded from macro 'REFRESH_MASK' while(num < BITSHIFT) {
~~~ ^ ~~~~~~~~ ../deps/mpg123/src/libmpg123/layer3.c:1021:6: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] REFRESH_MASK; ^~~~~~~~~~~~ ../deps/mpg123/src/libmpg123/layer3.c:695:12: note: expanded from macro 'REFRESH_MASK' while(num < BITSHIFT) {
~~~ ^ ~~~~~~~~ ../deps/mpg123/src/libmpg123/layer3.c:1036:6: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] REFRESH_MASK; ^~~~~~~~~~~~ ../deps/mpg123/src/libmpg123/layer3.c:695:12: note: expanded from macro 'REFRESH_MASK' while(num < BITSHIFT) {
~~~ ^ ~~~~~~~~ ../deps/mpg123/src/libmpg123/layer3.c:1059:6: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] REFRESH_MASK; ^~~~~~~~~~~~ ../deps/mpg123/src/libmpg123/layer3.c:695:12: note: expanded from macro 'REFRESH_MASK' while(num < BITSHIFT) {
~~~ ^ ~~~~~~~~ ../deps/mpg123/src/libmpg123/layer3.c:1088:4: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] REFRESH_MASK; ^~~~~~~~~~~~ ../deps/mpg123/src/libmpg123/layer3.c:695:12: note: expanded from macro 'REFRESH_MASK' while(num < BITSHIFT) {
~~~ ^ ~~~~~~~~ 8 warnings generated. CC(target) Release/obj.target/mpg123/deps/mpg123/src/libmpg123/feature.o CC(target) Release/obj.target/mpg123/deps/mpg123/src/libmpg123/dct64_x86_64.o CC(target) Release/obj.target/mpg123/deps/mpg123/src/libmpg123/dct64_x86_64_float.o CC(target) Release/obj.target/mpg123/deps/mpg123/src/libmpg123/synth_s32.o CC(target) Release/obj.target/mpg123/deps/mpg123/src/libmpg123/synth_real.o CC(target) Release/obj.target/mpg123/deps/mpg123/src/libmpg123/synth_stereo_x86_64.o CC(target) Release/obj.target/mpg123/deps/mpg123/src/libmpg123/synth_stereo_x86_64_float.o CC(target) Release/obj.target/mpg123/deps/mpg123/src/libmpg123/synth_stereo_x86_64_s32.o CC(target) Release/obj.target/mpg123/deps/mpg123/src/libmpg123/synth_x86_64.o CC(target) Release/obj.target/mpg123/deps/mpg123/src/libmpg123/synth_x86_64_s32.o CC(target) Release/obj.target/mpg123/deps/mpg123/src/libmpg123/synth_x86_64_float.o LIBTOOL-STATIC Release/libmpg123.a CC(target) Release/obj.target/lamevectorroutines/deps/lame/libmp3lame/vector/xmm_quantize_sub.o LIBTOOL-STATIC Release/liblamevectorroutines.a CXX(target) Release/obj.target/bindings/src/bindings.o CXX(target) Release/obj.target/bindings/src/node_lame.o CXX(target) Release/obj.target/bindings/src/node_mpg123.o ../src/node_mpg123.cc:322:130: warning: comparison of array 'v1->comment' equal to a null pointer is always false [-Wtautological-pointer-compare] Nan::Set(o, Nan::New<String>("comment").ToLocalChecked(), Nan::New<String>(v1->comment, min(sizeof(v1->comment) - 2, v1->comment == NULL ? 0 : strlen(v1->com... ~~~~^~~~~~~ ~~~~ 1 warning generated. SOLINK_MODULE(target) Release/bindings.node npm WARN prepublish-on-install As of npm@5, prepublish scripts will run only for npm publish. npm WARN prepublish-on-install (In npm@4 and previous versions, it also runs for npm install.) npm WARN prepublish-on-install See the deprecation note in npm help scripts for more information. npm WARN lifecycle [email protected]~prepublish: cannot run in wd %s %s (wd=%s) [email protected] babel ./lib/ -d ./bin/ /Users/rajeev/airsonos [email protected] /Users/rajeev/airsonos +-- [email protected] | +-- [email protected] | | +-- [email protected] | | -- [email protected] | +-- [email protected] | | +-- [email protected] | | | -- [email protected] | | -- [email protected] | +-- [email protected] | +-- [email protected] | | +-- [email protected] | | | +-- [email protected] | | | -- [email protected] | | | +-- [email protected] | | | | -- [email protected] | | | +-- [email protected] | | | +-- [email protected] | | | | +-- [email protected] | | | | | -- [email protected] | | | | | +-- [email protected] | | | | | +-- [email protected] | | | | | +-- [email protected] | | | | | -- [email protected] | | | | +-- [email protected] | | | | -- [email protected] | | | +-- [email protected] | | | | -- [email protected] | | | +-- [email protected] | | | +-- [email protected] | | | +-- [email protected] | | | | -- [email protected] | | | +-- [email protected] | | | +-- [email protected] | | | | +-- [email protected] | | | | | -- [email protected] | | | | -- [email protected] | | | +-- [email protected] | | | | +-- [email protected] | | | | -- [email protected] | | | -- [email protected] | | | +-- [email protected] | | | -- [email protected] | | +-- [email protected] | | +-- [email protected] | | | -- [email protected] | | | +-- [email protected] | | | | -- [email protected] | | | +-- [email protected] | | | | -- [email protected] | | | +-- [email protected] | | | | +-- [email protected] | | | | | +-- [email protected] | | | | | -- [email protected] | | | | +-- [email protected] | | | | +-- [email protected] | | | | | +-- [email protected] | | | | | +-- [email protected] | | | | | +-- [email protected] | | | | | +-- [email protected] | | | | | +-- [email protected] | | | | | | +-- [email protected] | | | | | | -- [email protected] | | | | | | -- [email protected] | | | | | +-- [email protected] | | | | | | -- [email protected] | | | | | +-- [email protected] | | | | | -- [email protected] | | | | -- [email protected] | | | +-- [email protected] | | | | +-- [email protected] | | | | +-- [email protected] | | | | +-- [email protected] | | | | -- [email protected] | | | +-- [email protected] | | | | +-- [email protected] | | | | +-- [email protected] | | | | +-- [email protected] | | | | +-- [email protected] | | | | | -- [email protected] | | | | +-- [email protected] | | | | +-- [email protected] | | | | +-- [email protected] | | | | | -- [email protected] | | | | +-- [email protected] | | | | | +-- [email protected] | | | | | | +-- [email protected] | | | | | | +-- [email protected] | | | | | | +-- [email protected] | | | | | | -- [email protected] | | | | | +-- [email protected] | | | | | | -- [email protected] | | | | | +-- [email protected] | | | | | | +-- [email protected] | | | | | | +-- [email protected] | | | | | | | -- [email protected] | | | | | | +-- [email protected] | | | | | | -- [email protected] | | | | | -- [email protected] | | | | | -- [email protected] | | | | +-- [email protected] | | | | | +-- [email protected] | | | | | +-- [email protected] | | | | | +-- [email protected] | | | | | -- [email protected] | | | | +-- [email protected] | | | | | +-- [email protected] | | | | | +-- [email protected] | | | | | | +-- [email protected] | | | | | | +-- [email protected] | | | | | | -- [email protected] | | | | | -- [email protected] | | | | | +-- [email protected] | | | | | +-- [email protected] | | | | | +-- [email protected] | | | | | +-- [email protected] | | | | | | -- [email protected] | | | | | +-- [email protected] | | | | | +-- [email protected] | | | | | | -- [email protected] | | | | | +-- [email protected] | | | | | +-- [email protected] | | | | | -- [email protected] | | | | +-- [email protected] | | | | +-- [email protected] | | | | +-- [email protected] | | | | +-- [email protected] | | | | | -- [email protected] | | | | +-- [email protected] | | | | +-- [email protected] | | | | +-- [email protected] | | | | +-- [email protected] | | | | | -- [email protected] | | | | +-- [email protected] | | | | -- [email protected] | | | +-- [email protected] | | | | -- [email protected] | | | | +-- [email protected] | | | | +-- [email protected] | | | | +-- [email protected] | | | | | -- [email protected] | | | | | +-- [email protected] | | | | | -- [email protected] | | | | +-- [email protected] | | | | -- [email protected] | | | +-- [email protected] | | | +-- [email protected] | | | | +-- [email protected] | | | | +-- [email protected] | | | | | -- [email protected] | | | | -- [email protected] | | | -- [email protected] | | | +-- [email protected] | | | | -- [email protected] | | | +-- [email protected] | | | +-- [email protected] | | | | -- [email protected] | | | +-- [email protected] | | | | +-- [email protected] | | | | +-- [email protected] | | | | +-- [email protected] | | | | +-- [email protected] | | | | +-- [email protected] | | | | -- [email protected] | | | -- [email protected] | | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | | -- [email protected] | | +-- [email protected] | | | -- [email protected] | | -- [email protected] | | -- [email protected] | +-- [email protected] | | -- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | | +-- [email protected] | | | -- [email protected] | | -- [email protected] | +-- [email protected] | +-- [email protected] | | -- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | -- [email protected] | -- [email protected] +-- [email protected] | +-- [email protected] | | -- [email protected] | +-- [email protected] | | +-- [email protected] | | | -- [email protected] | | | -- [email protected] | | -- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | | -- [email protected] | | -- [email protected] | +-- [email protected] | | -- [email protected] | +-- [email protected] | +-- [email protected] | | -- [email protected] | +-- [email protected] | +-- [email protected] | | -- [email protected] | | +-- [email protected] | | -- [email protected] | -- [email protected] +-- [email protected] +-- [email protected] | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | -- [email protected] | +-- [email protected] | | -- [email protected] | +-- [email protected] | | -- [email protected] | +-- [email protected] | | +-- [email protected] | | | +-- [email protected] | | | +-- [email protected] | | | +-- [email protected] | | | +-- [email protected] | | | +-- [email protected] | | | -- [email protected] | | +-- [email protected] | | -- [email protected] | | -- [email protected] | +-- [email protected] | | +-- [email protected] | | -- [email protected] | | -- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | | -- [email protected] | | +-- [email protected] | | +-- [email protected] | | | +-- [email protected] | | | | +-- [email protected] | | | | -- [email protected] | | | +-- [email protected] | | | +-- [email protected] | | | | -- [email protected] | | | +-- [email protected] | | | -- [email protected] | | | -- [email protected] | | -- [email protected] | +-- [email protected] | | -- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | | -- [email protected] | | | +-- [email protected] | | | -- [email protected] | | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | | +-- [email protected] | | | +-- [email protected] | | | | -- [email protected] | | | -- [email protected] | | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | -- [email protected] | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | | -- [email protected] | | +-- [email protected] | | -- [email protected] | +-- [email protected] | | -- [email protected] | +-- [email protected] | | +-- [email protected] | | | -- [email protected] | | -- [email protected] | +-- [email protected] | | -- [email protected] | +-- [email protected] | | +-- [email protected] | | -- [email protected] | +-- [email protected] | | -- [email protected] | +-- [email protected] | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | -- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | | +-- [email protected] | | | -- [email protected] | | -- [email protected] | +-- [email protected] | | +-- [email protected] | | -- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | | +-- [email protected] | | | -- [email protected] | | +-- [email protected] | | +-- [email protected] | | -- [email protected] | | -- [email protected] | +-- [email protected] | -- [email protected] | -- [email protected] +-- [email protected] | -- [email protected] +-- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | | -- [email protected] | +-- [email protected] | | +-- [email protected] | | | -- [email protected] | | -- [email protected] | +-- [email protected] | | -- [email protected] | +-- [email protected] | -- [email protected] | -- [email protected] | +-- [email protected] | -- [email protected] | -- [email protected] +-- [email protected] | +-- [email protected] | +-- [email protected] | -- [email protected] +-- [email protected] | -- [email protected] | +-- [email protected] | | +-- [email protected] | | -- [email protected] | -- [email protected] | +-- [email protected] | | +-- [email protected] | | -- [email protected] | +-- [email protected] | -- [email protected] +-- [email protected] +-- [email protected] +-- [email protected] (git://github.com/tomodwyer/nicercast.git#9fc35f4ae47bf5918b46335ac2edb44a047e4827) | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | | +-- [email protected] | | | +-- [email protected] | | | | +-- [email protected] | | | | | -- [email protected] | | | | +-- [email protected] | | | | -- [email protected] | | | | +-- [email protected] | | | | -- [email protected] | | | +-- [email protected] | | | +-- [email protected] | | | | +-- [email protected] | | | | | -- [email protected] | | | | +-- [email protected] | | | | | -- [email protected] | | | | -- [email protected] | | | | -- [email protected] | | | +-- [email protected] | | | | +-- [email protected] | | | | -- [email protected] | | | +-- [email protected] | | | +-- [email protected] | | | | -- [email protected] | | | | +-- [email protected] | | | | +-- [email protected] | | | | +-- [email protected] | | | | -- [email protected] | | | | -- [email protected] | | | +-- [email protected] | | | | -- [email protected] | | | +-- [email protected] | | | | +-- [email protected] | | | | | -- [email protected] | | | | -- [email protected] | | | +-- [email protected] | | | | +-- [email protected] | | | | +-- [email protected] | | | | | -- [email protected] | | | | -- [email protected] | | | | -- [email protected] | | | +-- [email protected] | | | | +-- [email protected] | | | | | -- [email protected] | | | | -- [email protected] | | | +-- [email protected] | | | | -- [email protected] | | | +-- [email protected] | | | | +-- [email protected] | | | | -- [email protected] | | | +-- [email protected] | | | | -- [email protected] | | | | -- [email protected] | | | +-- [email protected] | | | | +-- [email protected] | | | | | -- [email protected] | | | | -- [email protected] | | | | -- [email protected] | | | | -- [email protected] | | | +-- [email protected] | | | +-- [email protected] | | | +-- [email protected] | | | +-- [email protected] | | | | -- [email protected] | | | +-- [email protected] | | | +-- [email protected] | | | | +-- [email protected] | | | | +-- [email protected] | | | | | -- [email protected] | | | | +-- [email protected] | | | | -- [email protected] | | | +-- [email protected] | | | | +-- [email protected] | | | | -- [email protected] | | | | +-- [email protected] | | | | +-- [email protected] | | | | +-- [email protected] | | | | +-- [email protected] | | | | -- [email protected] | | | +-- [email protected] | | | | -- [email protected] | | | -- [email protected] | | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | | -- [email protected] | | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | | -- [email protected] | | +-- [email protected] | | +-- [email protected] | | | +-- [email protected] | | | +-- [email protected] | | | +-- [email protected] | | | +-- [email protected] | | | +-- [email protected] | | | | -- [email protected] | | | -- [email protected] | | +-- [email protected] | | -- [email protected] | +-- [email protected] | | +-- [email protected] | | | -- [email protected] | | | +-- [email protected] | | | -- [email protected] | | -- [email protected] | +-- [email protected] | -- [email protected] | +-- [email protected] | +-- [email protected] | -- [email protected] | -- [email protected] +-- [email protected] (git://github.com/tomodwyer/nodetunes.git#907870b6bba16569c75b91c968acd2ff8afa180d) | +-- [email protected] | | +-- [email protected] | | -- [email protected] | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | | -- [email protected] | | | +-- [email protected] | | | | -- [email protected] | | | +-- [email protected] | | | | -- [email protected] | | | +-- [email protected] | | | +-- [email protected] | | | | +-- [email protected] | | | | +-- [email protected] | | | | +-- [email protected] | | | | | -- [email protected] | | | | | +-- [email protected] | | | | | -- [email protected] | | | | +-- [email protected] | | | | -- [email protected] | | | | -- [email protected] | | | +-- [email protected] | | | +-- [email protected] | | | -- [email protected] | | +-- [email protected] | | | +-- [email protected] | | | | +-- [email protected] | | | | +-- [email protected] | | | | -- [email protected] | | | | -- [email protected] | | | +-- [email protected] | | | | +-- [email protected] | | | | +-- [email protected] | | | | | -- [email protected] | | | | +-- [email protected] | | | | +-- [email protected] | | | | | -- [email protected] | | | | +-- [email protected] | | | | +-- [email protected] | | | | +-- [email protected] | | | | | +-- [email protected] | | | | | +-- [email protected] | | | | | -- [email protected] | | | | -- [email protected] | | | -- [email protected] | | +-- [email protected] | | | -- [email protected] | | | +-- [email protected] | | | | +-- [email protected] | | | | | -- [email protected] | | | | +-- [email protected] | | | | -- [email protected] | | | | -- [email protected] | | | -- [email protected] | | | +-- [email protected] | | | +-- [email protected] | | | -- [email protected] | | -- [email protected] | | -- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | | -- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | -- [email protected] | | -- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | | -- [email protected] | -- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | -- [email protected] -- [email protected] (git://github.com/stephen/node-sonos.git#20d6d6afbf04d065330df6288c3db20234b515ce) +-- [email protected] +-- [email protected] +-- [email protected] +-- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | | -- [email protected] | | -- [email protected] | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | -- [email protected] | +-- [email protected] | | +-- [email protected] | | +-- [email protected] | | -- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | -- [email protected] +-- [email protected] +-- [email protected] | -- [email protected] -- [email protected] -- [email protected]

rajeevs-air:airsonos root# node ./bin/index.js module.js:472 throw err; ^

Error: Cannot find module '/Users/rajeev/airsonos/bin/index.js' at Function.Module._resolveFilename (module.js:470:15) at Function.Module._load (module.js:418:25) at Module.runMain (module.js:605:10) at run (bootstrap_node.js:420:7) at startup (bootstrap_node.js:139:9) at bootstrap_node.js:535:3 rajeevs-air:airsonos root#

Regards Rajeev

rajeevtom avatar Jan 11 '17 21:01 rajeevtom

sorry i want to ask the path of index.js ?

Regards Rajeev

rajeevtom avatar Jan 11 '17 21:01 rajeevtom

@rajeevtom it seems to be something is going wrong at this stage:

$ npm WARN prepublish-on-install As of npm@5, prepublish scripts will run only for npm publish.
$ npm WARN prepublish-on-install (In npm@4 and previous versions, it also runs for npm install.)
$ npm WARN prepublish-on-install See the deprecation note in npm help scripts for more information.
$ npm WARN lifecycle [email protected]~prepublish: cannot run in wd %s %s (wd=%s) [email protected] $ babel ./lib/ -d ./bin/ /Users/rajeev/airsonos

It looks to be to do with the prepublish scripts. Could you try running npm run prepublish and see if the ./airsonos/bin/ folder is created?

tomodwyer avatar Jan 11 '17 21:01 tomodwyer

I found one index.js but its not helping either:

rajeevs-air:~ root# cd /Users/rajeev/airsonos rajeevs-air:airsonos root# node ./index.js /Users/rajeev/airsonos/lib/tunnel.js:18 ); ^ SyntaxError: Unexpected token ) at Object.exports.runInThisContext (vm.js:78:16) at Module._compile (module.js:543:28) at Object.Module._extensions..js (module.js:580:10) at Module.load (module.js:488:32) at tryModuleLoad (module.js:447:12) at Function.Module._load (module.js:439:3) at Module.require (module.js:498:17) at require (internal/module.js:20:19) at Object. (/Users/rajeev/airsonos/lib/airsonos.js:3:22) at Module._compile (module.js:571:32) at Object.Module._extensions..js (module.js:580:10) at Module.load (module.js:488:32) at tryModuleLoad (module.js:447:12) at Function.Module._load (module.js:439:3) at Module.require (module.js:498:17) at require (internal/module.js:20:19) rajeevs-air:airsonos root# ls .eslintignore .git CHANGELOG.md README.md lib package.json .eslintrc .gitignore LICENSE index.js node_modules rajeevs-air:airsonos root# ls -lrt index* -rwxr-xr-x 1 root staff 44 Jan 11 22:19 index.js rajeevs-air:airsonos root#

rajeevtom avatar Jan 11 '17 21:01 rajeevtom

Hi Tom

you are a genious 👍 Its working as shown below , I will take out the IP Adress from below log :-)

rajeevs-air:airsonos root# npm run prepublish

[email protected] prepublish /Users/rajeev/airsonos babel ./lib/ -d ./bin/

lib/airsonos.js -> bin/airsonos.js lib/diagnostics.js -> bin/diagnostics.js lib/index.js -> bin/index.js lib/tunnel.js -> bin/tunnel.js rajeevs-air:airsonos root# ls .eslintignore .git CHANGELOG.md README.md index.js node_modules .eslintrc .gitignore LICENSE bin lib package.json rajeevs-air:airsonos root# ls node
ls: node: No such file or directory rajeevs-air:airsonos root# ls bin airsonos.js diagnostics.js index.js tunnel.js rajeevs-air:airsonos root# node ./bin/index.js Searching for Sonos devices on network...

Bathroom (@ IP, RINCON_TEMP:0)

Search complete. Set up 1 device tunnel.

Thanks a ton to you. Now I will test if Airplay is working :-)

Regards Rajeev

rajeevtom avatar Jan 11 '17 21:01 rajeevtom

do i need to do something extra after executing "node ./bin/index.js" ? I am asking this because speaker is not showing up in my airplay list ...for example when I am playing from youtube ? How can I direct it to speaker play 1.

Regards Rajeev

rajeevtom avatar Jan 11 '17 21:01 rajeevtom

sorry for bothering you ...now it is showing the speaker. Now I can buy one more play 1 for my fitness room :-)

Thanks and Regards Rajeev

rajeevtom avatar Jan 11 '17 21:01 rajeevtom

No worries :+1: - that puts me one step closer to adding my version to npm. For any future issues, you can open an issue on my repo: https://github.com/tomodwyer/airsonos/issues

tomodwyer avatar Jan 11 '17 21:01 tomodwyer

Now the next problem, I can see my speaker in airplay list but as soon as I am directing the youtube song to speaker its throwing error on prompt :

rajeevs-air:airsonos root# node ./bin/index.js Searching for Sonos devices on network...

Bathroom (@ IP, RINCON_9TEMP00:0)

Search complete. Set up 1 device tunnel. /Users/rajeev/airsonos/bin/tunnel.js:66 metadata: this.generateSonosMetadata(this.deviceName) ^

TypeError: this.generateSonosMetadata is not a function at icecastServer.start.port (/Users/rajeev/airsonos/bin/tunnel.js:66:24) at Server. (/Users/rajeev/airsonos/node_modules/nicercast/index.js:103:7) at Object.onceWrapper (events.js:290:19) at emitNone (events.js:86:13) at Server.emit (events.js:185:7) at emitListeningNT (net.js:1288:10) at _combinedTickCallback (internal/process/next_tick.js:71:11) at process._tickCallback (internal/process/next_tick.js:98:9) rajeevs-air:airsonos root#

Am i doing something wrong ?

Regards Rajeev

rajeevtom avatar Jan 11 '17 21:01 rajeevtom

argh tom what happened to your repo? 😱 https://github.com/tomodwyer/airsonos/

sistephens avatar Mar 10 '17 13:03 sistephens

I second that question!

brian163 avatar Mar 13 '17 02:03 brian163

@sistephens @brian163 - apologies to both of you, I combined my accounts and didn't transfer some repos. Give this a go:

https://github.com/tomodwyer/airsonos/

$ git clone https://github.com/tomodwyer/airsonos.git
$ cd airsonos
$ git checkout tags/0.2.7

# I'm using Yarn to manage dependencies, so if you have that installed run
$ yarn
$ yarn start

# Otherwise, if you're using npm, run:
$ npm install
$ npm start

tomodwyer avatar Mar 13 '17 20:03 tomodwyer

@tomodwyer hooray! thanks ❤️

will try this and see how i get on.

sistephens avatar Mar 14 '17 09:03 sistephens