Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't install on Mac OS 10.15.7 #200

Open
mahmoudkortobaa opened this issue May 11, 2023 · 2 comments
Open

Can't install on Mac OS 10.15.7 #200

mahmoudkortobaa opened this issue May 11, 2023 · 2 comments

Comments

@mahmoudkortobaa
Copy link

OS : macOS Catalina 10.15.7
Node : 10 , 12 , 16
node-gyp : 9.3.1

I tried alt of node & npm versions and got the same error

npm i --save medooze-media-server
npm notice Beginning October 4, 2021, all connections to the npm registry - including for package installation - must use TLS 1.2 or higher. You are currently using plaintext http to connect. Please visit the GitHub blog for more information: https://github.blog/2021-08-23-npm-registry-deprecating-tls-1-0-tls-1-1/
npm WARN deprecated [email protected]: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm notice Beginning October 4, 2021, all connections to the npm registry - including for package installation - must use TLS 1.2 or higher. You are currently using plaintext http to connect. Please visit the GitHub blog for more information: https://github.blog/2021-08-23-npm-registry-deprecating-tls-1-0-tls-1-1/
npm ERR! code 1
npm ERR! path /Users/dragon/Code/demo-medooze-server/node_modules/medooze-media-server
npm ERR! command failed
npm ERR! command sh -c test -f build/Release/medooze-media-server.node || (node-gyp configure && node-gyp rebuild --jobs=max)
npm ERR! CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/libplatform/io/FileSystem_posix.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/libplatform/io/FileSystem.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/libplatform/io/File.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/libplatform/io/File_posix.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/libplatform/time/time_posix.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/libplatform/time/time.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/libplatform/process/process_posix.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/libplatform/prog/option.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/libplatform/number/random_posix.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/libplatform/sys/error.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/atom_mdat.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/atom_d263.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/atom_nmhd.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/atom_dref.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/atom_tx3g.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/atom_text.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/atom_mvhd.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/atom_stbl.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/atom_sdtp.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/atom_ac3.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/atom_gmin.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/atom_pasp.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/mp4info.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/ocidescriptors.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/exception.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/atom_stz2.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/mp4file.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/atom_url.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/atom_vpcC.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/atom_smi.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/atom_encv.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/mp4.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/isma.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/odcommands.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/bmff/typebmff.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/atom_udta.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/atom_meta.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/mp4property.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/atom_sound.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/atom_hinf.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/atom_mdhd.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/atom_tfhd.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/atom_s263.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/atom_video.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/atom_urn.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/atom_colr.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/atom_stsz.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/atom_damr.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/atom_rtp.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/atom_chpl.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/atom_treftype.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/atom_uuid.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/atom_enca.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/atom_ftab.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/atom_mp4v.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/mp4file_io.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/atom_free.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/atom_ftyp.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/atom_vpxx.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/descriptors.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/rtphint.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/atom_dops.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/3gp.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/atom_ohdr.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/atom_tkhd.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/atom_root.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/itmf/generic.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/itmf/CoverArtBox.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/itmf/type.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/itmf/Tags.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/atom_amr.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/atom_dac3.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/cmeta.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/mp4track.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/atom_sdp.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/atom_stsd.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/mp4atom.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/mp4container.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/atom_elst.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/mp4descriptor.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/mp4util.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/qosqualifiers.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/atom_hdlr.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/atom_hnti.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/atom_standard.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/atom_trun.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/atom_mp4s.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/log.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/atom_href.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/atom_vmhd.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/atom_opus.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/atom_stdp.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/atom_avc1.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/qtff/PictureAspectRatioBox.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/qtff/coding.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/qtff/ColorParameterBox.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/atom_avcC.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/atom_stsc.o
npm ERR!   CXX(target) Release/obj.target/mp4v2/external/mp4v2/lib/src/text.o
npm ERR!   CC(target) Release/obj.target/libsrtp/external/srtp/lib/srtp/srtp.o
npm ERR!   CC(target) Release/obj.target/libsrtp/external/srtp/lib/crypto/cipher/aes.o
npm ERR!   CC(target) Release/obj.target/libsrtp/external/srtp/lib/crypto/cipher/cipher.o
npm ERR!   CC(target) Release/obj.target/libsrtp/external/srtp/lib/crypto/cipher/cipher_test_cases.o
npm ERR!   CC(target) Release/obj.target/libsrtp/external/srtp/lib/crypto/cipher/null_cipher.o
npm ERR!   CC(target) Release/obj.target/libsrtp/external/srtp/lib/crypto/hash/auth.o
npm ERR!   CC(target) Release/obj.target/libsrtp/external/srtp/lib/crypto/hash/auth_test_cases.o
npm ERR!   CC(target) Release/obj.target/libsrtp/external/srtp/lib/crypto/hash/null_auth.o
npm ERR!   CC(target) Release/obj.target/libsrtp/external/srtp/lib/crypto/kernel/alloc.o
npm ERR!   CC(target) Release/obj.target/libsrtp/external/srtp/lib/crypto/kernel/crypto_kernel.o
npm ERR!   CC(target) Release/obj.target/libsrtp/external/srtp/lib/crypto/kernel/err.o
npm ERR!   CC(target) Release/obj.target/libsrtp/external/srtp/lib/crypto/kernel/key.o
npm ERR!   CC(target) Release/obj.target/libsrtp/external/srtp/lib/crypto/math/datatypes.o
npm ERR!   CC(target) Release/obj.target/libsrtp/external/srtp/lib/crypto/replay/rdb.o
npm ERR!   CC(target) Release/obj.target/libsrtp/external/srtp/lib/crypto/replay/rdbx.o
npm ERR!   CXX(target) Release/obj.target/libsrtp/external/srtp/stream_list.o
npm ERR!   CC(target) Release/obj.target/libsrtp/external/srtp/lib/crypto/cipher/aes_gcm_ossl.o
npm ERR!   CC(target) Release/obj.target/libsrtp/external/srtp/lib/crypto/cipher/aes_icm_ossl.o
npm ERR!   CC(target) Release/obj.target/libsrtp/external/srtp/lib/crypto/hash/hmac_ossl.o
npm ERR!   LIBTOOL-STATIC Release/libmp4v2.a
npm ERR!   LIBTOOL-STATIC Release/srtp.a
npm ERR!   CXX(target) Release/obj.target/medooze-media-server/external/perfetto/perfetto.o
npm ERR!   CXX(target) Release/obj.target/medooze-media-server/src/media-server_wrap.o
npm ERR!   CXX(target) Release/obj.target/medooze-media-server/media-server/ext/crc32c/src/crc32c.o
npm ERR!   CXX(target) Release/obj.target/medooze-media-server/media-server/ext/crc32c/src/crc32c_portable.o
npm ERR!   CXX(target) Release/obj.target/medooze-media-server/media-server/ext/crc32c/src/crc32c_sse42.o
npm ERR!   CXX(target) Release/obj.target/medooze-media-server/media-server/ext/crc32c/src/crc32c_arm64.o
npm ERR!   CXX(target) Release/obj.target/medooze-media-server/media-server/ext/libdatachannels/src/Datachannels.o
npm ERR!   CXX(target) Release/obj.target/medooze-media-server/media-server/src/MedoozeTracing.o
npm ERR!   CXX(target) Release/obj.target/medooze-media-server/media-server/src/ActiveSpeakerDetector.o
npm ERR!   CXX(target) Release/obj.target/medooze-media-server/media-server/src/ActiveSpeakerMultiplexer.o
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using [email protected]
npm ERR! gyp info using [email protected] | darwin | x64
npm ERR! gyp info find Python using Python version 3.11.3 found at "/usr/local/opt/[email protected]/bin/python3.11"
npm ERR! gyp info spawn /usr/local/opt/[email protected]/bin/python3.11
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args   '/Users/dragon/.nvm/versions/node/v16.18.0/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
npm ERR! gyp info spawn args   'binding.gyp',
npm ERR! gyp info spawn args   '-f',
npm ERR! gyp info spawn args   'make',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/Users/dragon/Code/demo-medooze-server/node_modules/medooze-media-server/build/config.gypi',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/Users/dragon/.nvm/versions/node/v16.18.0/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/Users/dragon/Library/Caches/node-gyp/16.18.0/include/node/common.gypi',
npm ERR! gyp info spawn args   '-Dlibrary=shared_library',
npm ERR! gyp info spawn args   '-Dvisibility=default',
npm ERR! gyp info spawn args   '-Dnode_root_dir=/Users/dragon/Library/Caches/node-gyp/16.18.0',
npm ERR! gyp info spawn args   '-Dnode_gyp_dir=/Users/dragon/.nvm/versions/node/v16.18.0/lib/node_modules/npm/node_modules/node-gyp',
npm ERR! gyp info spawn args   '-Dnode_lib_file=/Users/dragon/Library/Caches/node-gyp/16.18.0/<(target_arch)/node.lib',
npm ERR! gyp info spawn args   '-Dmodule_root_dir=/Users/dragon/Code/demo-medooze-server/node_modules/medooze-media-server',
npm ERR! gyp info spawn args   '-Dnode_engine=v8',
npm ERR! gyp info spawn args   '--depth=.',
npm ERR! gyp info spawn args   '--no-parallel',
npm ERR! gyp info spawn args   '--generator-output',
npm ERR! gyp info spawn args   'build',
npm ERR! gyp info spawn args   '-Goutput_dir=.'
npm ERR! gyp info spawn args ]
npm ERR! gyp info ok 
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using [email protected]
npm ERR! gyp info using [email protected] | darwin | x64
npm ERR! gyp info find Python using Python version 3.11.3 found at "/usr/local/opt/[email protected]/bin/python3.11"
npm ERR! gyp info spawn /usr/local/opt/[email protected]/bin/python3.11
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args   '/Users/dragon/.nvm/versions/node/v16.18.0/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
npm ERR! gyp info spawn args   'binding.gyp',
npm ERR! gyp info spawn args   '-f',
npm ERR! gyp info spawn args   'make',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/Users/dragon/Code/demo-medooze-server/node_modules/medooze-media-server/build/config.gypi',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/Users/dragon/.nvm/versions/node/v16.18.0/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/Users/dragon/Library/Caches/node-gyp/16.18.0/include/node/common.gypi',
npm ERR! gyp info spawn args   '-Dlibrary=shared_library',
npm ERR! gyp info spawn args   '-Dvisibility=default',
npm ERR! gyp info spawn args   '-Dnode_root_dir=/Users/dragon/Library/Caches/node-gyp/16.18.0',
npm ERR! gyp info spawn args   '-Dnode_gyp_dir=/Users/dragon/.nvm/versions/node/v16.18.0/lib/node_modules/npm/node_modules/node-gyp',
npm ERR! gyp info spawn args   '-Dnode_lib_file=/Users/dragon/Library/Caches/node-gyp/16.18.0/<(target_arch)/node.lib',
npm ERR! gyp info spawn args   '-Dmodule_root_dir=/Users/dragon/Code/demo-medooze-server/node_modules/medooze-media-server',
npm ERR! gyp info spawn args   '-Dnode_engine=v8',
npm ERR! gyp info spawn args   '--depth=.',
npm ERR! gyp info spawn args   '--no-parallel',
npm ERR! gyp info spawn args   '--generator-output',
npm ERR! gyp info spawn args   'build',
npm ERR! gyp info spawn args   '-Goutput_dir=.'
npm ERR! gyp info spawn args ]
npm ERR! gyp info spawn make
npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build', '--jobs', 4 ]
npm ERR! ../external/mp4v2/lib/libplatform/io/File.cpp:8:22: warning: unused variable '__maxChunkSize' [-Wunused-const-variable]
npm ERR!     const File::Size __maxChunkSize = 1024*1024;
npm ERR!                      ^
npm ERR! 1 warning generated.
npm ERR! ../external/mp4v2/lib/src/mp4info.cpp:383:17: warning: comparison of array 'originalFormat' not equal to a null pointer is always true [-Wtautological-pointer-compare]
npm ERR!             if (originalFormat != NULL && originalFormat[0] != '\0')
npm ERR!                 ^~~~~~~~~~~~~~    ~~~~
npm ERR! 1 warning generated.
npm ERR! ../external/mp4v2/lib/src/bmff/typebmff.cpp:517:40: warning: missing field 'compact' initializer [-Wmissing-field-initializers]
npm ERR!     { mp4v2::impl::bmff::ILC_UNDEFINED } // must be last
npm ERR!                                        ^
npm ERR! 1 warning generated.
npm ERR! ../external/mp4v2/lib/src/itmf/type.cpp:54:39: warning: missing field 'compact' initializer [-Wmissing-field-initializers]
npm ERR!     { mp4v2::impl::itmf::BT_UNDEFINED } // must be last
npm ERR!                                       ^
npm ERR! ../external/mp4v2/lib/src/itmf/type.cpp:190:42: warning: missing field 'compact' initializer [-Wmissing-field-initializers]
npm ERR!     { mp4v2::impl::itmf::GENRE_UNDEFINED } // must be last
npm ERR!                                          ^
npm ERR! ../external/mp4v2/lib/src/itmf/type.cpp:206:41: warning: missing field 'compact' initializer [-Wmissing-field-initializers]
npm ERR!     { mp4v2::impl::itmf::STIK_UNDEFINED } // must be last
npm ERR!                                         ^
npm ERR! ../external/mp4v2/lib/src/itmf/type.cpp:216:39: warning: missing field 'compact' initializer [-Wmissing-field-initializers]
npm ERR!     { mp4v2::impl::itmf::AT_UNDEFINED } // must be last
npm ERR!                                       ^
npm ERR! ../external/mp4v2/lib/src/itmf/type.cpp:246:39: warning: missing field 'compact' initializer [-Wmissing-field-initializers]
npm ERR!     { mp4v2::impl::itmf::CC_UNDEFINED } // must be last
npm ERR!                                       ^
npm ERR! ../external/mp4v2/lib/src/itmf/type.cpp:257:39: warning: missing field 'compact' initializer [-Wmissing-field-initializers]
npm ERR!     { mp4v2::impl::itmf::CR_UNDEFINED } // must be last
npm ERR!                                       ^
npm ERR! ../external/mp4v2/lib/src/itmf/type.cpp:289:24: warning: missing field 'data' initializer [-Wmissing-field-initializers]
npm ERR!         { BT_UNDEFINED } // must be last
npm ERR!                        ^
npm ERR! 7 warnings generated.
npm ERR! ../external/mp4v2/lib/src/atom_standard.cpp:181:26: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
npm ERR!         ExpectChildAtom("<A9>enc", Optional, OnlyOne); /* Encoded by */
npm ERR!                          ^~~~
npm ERR! 1 warning generated.
npm ERR! ../external/mp4v2/lib/src/atom_opus.cpp:64:62: warning: implicit conversion from 'int' to 'uint16_t' (aka 'unsigned short') changes value from -1149239296 to 0 [-Wconstant-conversion]
npm ERR!     ((MP4Integer16Property*)m_pProperties[6])->SetValue(48000<<16); //The samplerate field shall be set to 48000<<16.
npm ERR!                                                ~~~~~~~~ ~~~~~^~~~
npm ERR! 1 warning generated.
npm ERR! warning: unknown warning option '-Wno-aligned-allocation-availability'; did you mean '-Wno-partial-availability'? [-Wunknown-warning-option]
npm ERR! warning: unknown warning option '-Wno-aligned-allocation-unavailable'; did you mean '-Wno-debug-compression-unavailable'? [-Wunknown-warning-option]
npm ERR! warning: unknown warning option '-Wno-aligned-allocation-availability'; did you mean '-Wno-partial-availability'? [-Wunknown-warning-option]
npm ERR! warning: unknown warning option '-Wno-aligned-allocation-availability'; did you mean '-Wno-partial-availability'? [-Wunknown-warning-option]
npm ERR! warning: unknown warning option '-Wno-aligned-allocation-unavailable'; did you mean '-Wno-debug-compression-unavailable'? [-Wunknown-warning-option]
npm ERR! warning: unknown warning option '-Wno-aligned-allocation-unavailable'; did you mean '-Wno-debug-compression-unavailable'? [-Wunknown-warning-option]
npm ERR! warning: unknown warning option '-Wno-aligned-allocation-availability'; did you mean '-Wno-partial-availability'? [-Wunknown-warning-option]
npm ERR! warning: unknown warning option '-Wno-aligned-allocation-unavailable'; did you mean '-Wno-debug-compression-unavailable'? [-Wunknown-warning-option]
npm ERR! 2 warnings generated.
npm ERR! warning: unknown warning option '-Wno-aligned-allocation-availability'; did you mean '-Wno-partial-availability'? [-Wunknown-warning-option]
npm ERR! warning: unknown warning option '-Wno-aligned-allocation-unavailable'; did you mean '-Wno-debug-compression-unavailable'? [-Wunknown-warning-option]
npm ERR! 2 warnings generated.
npm ERR! warning: unknown warning option '-Wno-aligned-allocation-availability'; did you mean '-Wno-partial-availability'? [-Wunknown-warning-option]
npm ERR! warning: unknown warning option '-Wno-aligned-allocation-unavailable'; did you mean '-Wno-debug-compression-unavailable'? [-Wunknown-warning-option]
npm ERR! 2 warnings generated.
npm ERR! 2 warnings generated.
npm ERR! warning: unknown warning option '-Wno-aligned-allocation-availability'; did you mean '-Wno-partial-availability'? [-Wunknown-warning-option]
npm ERR! warning: unknown warning option '-Wno-aligned-allocation-unavailable'; did you mean '-Wno-debug-compression-unavailable'? [-Wunknown-warning-option]
npm ERR! warning: unknown warning option '-Wno-aligned-allocation-availability'; did you mean '-Wno-partial-availability'? [-Wunknown-warning-option]
npm ERR! warning: unknown warning option '-Wno-aligned-allocation-unavailable'; did you mean '-Wno-debug-compression-unavailable'? [-Wunknown-warning-option]
npm ERR! 2 warnings generated.
npm ERR! warning: unknown warning option '-Wno-aligned-allocation-availability'; did you mean '-Wno-partial-availability'? [-Wunknown-warning-option]
npm ERR! warning: unknown warning option '-Wno-aligned-allocation-unavailable'; did you mean '-Wno-debug-compression-unavailable'? [-Wunknown-warning-option]
npm ERR! In file included from ../media-server/ext/libdatachannels/src/Datachannels.cpp:7:
npm ERR! ../media-server/ext/libdatachannels/src/sctp/Chunk.cpp:14:9: warning: enumeration value 'PAD' not handled in switch [-Wswitch]
npm ERR!         switch((Type)reader.Peek1())
npm ERR!                ^
npm ERR! ../media-server/ext/libdatachannels/src/sctp/Chunk.cpp:14:9: note: add missing switch cases
npm ERR!         switch((Type)reader.Peek1())
npm ERR!                ^
npm ERR! In file included from ../media-server/ext/libdatachannels/src/Datachannels.cpp:8:
npm ERR! ../media-server/ext/libdatachannels/src/sctp/chunks/AbortAssociationChunk.cpp:43:9: warning: unused variable 'mark' [-Wunused-variable]
npm ERR!         size_t mark     = reader.Mark();
npm ERR!                ^
npm ERR! ../media-server/ext/libdatachannels/src/sctp/chunks/AbortAssociationChunk.cpp:45:10: warning: unused variable 'flag' [-Wunused-variable]
npm ERR!         uint8_t flag    = reader.Get1(); //Ignored, should be 0
npm ERR!                 ^
npm ERR! ../media-server/ext/libdatachannels/src/sctp/chunks/AbortAssociationChunk.cpp:46:11: warning: unused variable 'length' [-Wunused-variable]
npm ERR!         uint16_t length = reader.Get2();
npm ERR!                  ^
npm ERR! In file included from ../media-server/ext/libdatachannels/src/Datachannels.cpp:9:
npm ERR! ../media-server/ext/libdatachannels/src/sctp/chunks/HeartbeatRequestChunk.cpp:64:11: warning: unused variable 'length' [-Wunused-variable]
npm ERR!         uint16_t length = reader.Get2();
npm ERR!                  ^
npm ERR! ../media-server/ext/libdatachannels/src/sctp/chunks/HeartbeatRequestChunk.cpp:63:10: warning: unused variable 'flag' [-Wunused-variable]
npm ERR!         uint8_t flag    = reader.Get1(); //Ignored, should be 0
npm ERR!                 ^
npm ERR! ../media-server/ext/libdatachannels/src/sctp/chunks/HeartbeatRequestChunk.cpp:61:9: warning: unused variable 'mark' [-Wunused-variable]
npm ERR!         size_t mark     = reader.Mark();
npm ERR!                ^
npm ERR! In file included from ../media-server/ext/libdatachannels/src/Datachannels.cpp:10:
npm ERR! ../media-server/ext/libdatachannels/src/sctp/chunks/HeartbeatAckChunk.cpp:63:10: warning: unused variable 'flag' [-Wunused-variable]
npm ERR!         uint8_t flag    = reader.Get1(); //Ignored, should be 0
npm ERR!                 ^
npm ERR! ../media-server/ext/libdatachannels/src/sctp/chunks/HeartbeatAckChunk.cpp:64:11: warning: unused variable 'length' [-Wunused-variable]
npm ERR!         uint16_t length = reader.Get2();
npm ERR!                  ^
npm ERR! ../media-server/ext/libdatachannels/src/sctp/chunks/HeartbeatAckChunk.cpp:61:9: warning: unused variable 'mark' [-Wunused-variable]
npm ERR!         size_t mark     = reader.Mark();
npm ERR!                ^
npm ERR! In file included from ../media-server/ext/libdatachannels/src/Datachannels.cpp:11:
npm ERR! ../media-server/ext/libdatachannels/src/sctp/chunks/OperationErrorChunk.cpp:45:9: warning: unused variable 'mark' [-Wunused-variable]
npm ERR!         size_t mark     = reader.Mark();
npm ERR!                ^
npm ERR! ../media-server/ext/libdatachannels/src/sctp/chunks/OperationErrorChunk.cpp:48:11: warning: unused variable 'length' [-Wunused-variable]
npm ERR!         uint16_t length = reader.Get2();
npm ERR!                  ^
npm ERR! ../media-server/ext/libdatachannels/src/sctp/chunks/OperationErrorChunk.cpp:47:10: warning: unused variable 'flag' [-Wunused-variable]
npm ERR!         uint8_t flag    = reader.Get1(); //Ignored, should be 0
npm ERR!                 ^
npm ERR! In file included from ../media-server/ext/libdatachannels/src/Datachannels.cpp:12:
npm ERR! ../media-server/ext/libdatachannels/src/sctp/chunks/SelectiveAcknowledgementChunk.cpp:74:9: warning: unused variable 'mark' [-Wunused-variable]
npm ERR!         size_t mark     = reader.Mark();
npm ERR!                ^
npm ERR! ../media-server/ext/libdatachannels/src/sctp/chunks/SelectiveAcknowledgementChunk.cpp:76:10: warning: unused variable 'flag' [-Wunused-variable]
npm ERR!         uint8_t flag    = reader.Get1(); //Ignored, should be 0
npm ERR!                 ^
npm ERR! In file included from ../media-server/ext/libdatachannels/src/Datachannels.cpp:13:
npm ERR! ../media-server/ext/libdatachannels/src/sctp/chunks/ShutdownCompleteChunk.cpp:48:11: warning: unused variable 'length' [-Wunused-variable]
npm ERR!         uint16_t length = reader.Get2();
npm ERR!                  ^
npm ERR! ../media-server/ext/libdatachannels/src/sctp/chunks/ShutdownCompleteChunk.cpp:45:9: warning: unused variable 'mark' [-Wunused-variable]
npm ERR!         size_t mark     = reader.Mark();
npm ERR!                ^
npm ERR! ../media-server/ext/libdatachannels/src/sctp/chunks/ShutdownCompleteChunk.cpp:47:10: warning: unused variable 'flag' [-Wunused-variable]
npm ERR!         uint8_t flag    = reader.Get1(); //Ignored, should be 0
npm ERR!                 ^
npm ERR! In file included from ../media-server/ext/libdatachannels/src/Datachannels.cpp:14:
npm ERR! ../media-server/ext/libdatachannels/src/sctp/chunks/CookieAckChunk.cpp:46:11: warning: unused variable 'length' [-Wunused-variable]
npm ERR!         uint16_t length = reader.Get2();
npm ERR!                  ^
npm ERR! ../media-server/ext/libdatachannels/src/sctp/chunks/CookieAckChunk.cpp:43:9: warning: unused variable 'mark' [-Wunused-variable]
npm ERR!         size_t mark     = reader.Mark();
npm ERR!                ^
npm ERR! ../media-server/ext/libdatachannels/src/sctp/chunks/CookieAckChunk.cpp:45:10: warning: unused variable 'flag' [-Wunused-variable]
npm ERR!         uint8_t flag    = reader.Get1(); //Ignored, should be 0
npm ERR!                 ^
npm ERR! In file included from ../media-server/ext/libdatachannels/src/Datachannels.cpp:15:
npm ERR! ../media-server/ext/libdatachannels/src/sctp/chunks/InitiationAcknowledgementChunk.cpp:183:10: warning: unused variable 'flag' [-Wunused-variable]
npm ERR!         uint8_t flag    = reader.Get1(); //Ignored, should be 0
npm ERR!                 ^
npm ERR! ../media-server/ext/libdatachannels/src/sctp/chunks/InitiationAcknowledgementChunk.cpp:181:9: warning: unused variable 'mark' [-Wunused-variable]
npm ERR!         size_t mark     = reader.Mark();
npm ERR!                ^
npm ERR! ../media-server/ext/libdatachannels/src/sctp/chunks/InitiationAcknowledgementChunk.cpp:184:11: warning: unused variable 'length' [-Wunused-variable]
npm ERR!         uint16_t length = reader.Get2();
npm ERR!                  ^
npm ERR! In file included from ../media-server/ext/libdatachannels/src/Datachannels.cpp:16:
npm ERR! ../media-server/ext/libdatachannels/src/sctp/chunks/PayloadDataChunk.cpp:60:9: warning: unused variable 'mark' [-Wunused-variable]
npm ERR!         size_t mark     = reader.Mark();
npm ERR!                ^
npm ERR! In file included from ../media-server/ext/libdatachannels/src/Datachannels.cpp:17:
npm ERR! ../media-server/ext/libdatachannels/src/sctp/chunks/ShutdownAcknowledgementChunk.cpp:45:9: warning: unused variable 'mark' [-Wunused-variable]
npm ERR!         size_t mark     = reader.Mark();
npm ERR!                ^
npm ERR! ../media-server/ext/libdatachannels/src/sctp/chunks/ShutdownAcknowledgementChunk.cpp:48:11: warning: unused variable 'length' [-Wunused-variable]
npm ERR!         uint16_t length = reader.Get2();
npm ERR!                  ^
npm ERR! ../media-server/ext/libdatachannels/src/sctp/chunks/ShutdownAcknowledgementChunk.cpp:47:10: warning: unused variable 'flag' [-Wunused-variable]
npm ERR!         uint8_t flag    = reader.Get1(); //Ignored, should be 0
npm ERR!                 ^
npm ERR! In file included from ../media-server/ext/libdatachannels/src/Datachannels.cpp:18:
npm ERR! ../media-server/ext/libdatachannels/src/sctp/chunks/CookieEchoChunk.cpp:52:9: warning: unused variable 'mark' [-Wunused-variable]
npm ERR!         size_t mark     = reader.Mark();
npm ERR!                ^
npm ERR! ../media-server/ext/libdatachannels/src/sctp/chunks/CookieEchoChunk.cpp:54:10: warning: unused variable 'flag' [-Wunused-variable]
npm ERR!         uint8_t flag    = reader.Get1(); //Ignored, should be 0
npm ERR!                 ^
npm ERR! In file included from ../media-server/ext/libdatachannels/src/Datachannels.cpp:19:
npm ERR! ../media-server/ext/libdatachannels/src/sctp/chunks/InitiationChunk.cpp:197:10: warning: unused variable 'flag' [-Wunused-variable]
npm ERR!         uint8_t flag    = reader.Get1(); //Ignored, should be 0
npm ERR!                 ^
npm ERR! ../media-server/ext/libdatachannels/src/sctp/chunks/InitiationChunk.cpp:198:11: warning: unused variable 'length' [-Wunused-variable]
npm ERR!         uint16_t length = reader.Get2();
npm ERR!                  ^
npm ERR! ../media-server/ext/libdatachannels/src/sctp/chunks/InitiationChunk.cpp:195:9: warning: unused variable 'mark' [-Wunused-variable]
npm ERR!         size_t mark     = reader.Mark();
npm ERR!                ^
npm ERR! In file included from ../media-server/ext/libdatachannels/src/Datachannels.cpp:20:
npm ERR! ../media-server/ext/libdatachannels/src/sctp/chunks/ReConfigChunk.cpp:48:11: warning: unused variable 'length' [-Wunused-variable]
npm ERR!         uint16_t length = reader.Get2();
npm ERR!                  ^
npm ERR! ../media-server/ext/libdatachannels/src/sctp/chunks/ReConfigChunk.cpp:45:9: warning: unused variable 'mark' [-Wunused-variable]
npm ERR!         size_t mark     = reader.Mark();
npm ERR!                ^
npm ERR! ../media-server/ext/libdatachannels/src/sctp/chunks/ReConfigChunk.cpp:47:10: warning: unused variable 'flag' [-Wunused-variable]
npm ERR!         uint8_t flag    = reader.Get1(); //Ignored, should be 0
npm ERR!                 ^
npm ERR! In file included from ../media-server/ext/libdatachannels/src/Datachannels.cpp:21:
npm ERR! ../media-server/ext/libdatachannels/src/sctp/chunks/ShutdownAssociationChunk.cpp:48:11: warning: unused variable 'length' [-Wunused-variable]
npm ERR!         uint16_t length = reader.Get2();
npm ERR!                  ^
npm ERR! ../media-server/ext/libdatachannels/src/sctp/chunks/ShutdownAssociationChunk.cpp:45:9: warning: unused variable 'mark' [-Wunused-variable]
npm ERR!         size_t mark     = reader.Mark();
npm ERR!                ^
npm ERR! ../media-server/ext/libdatachannels/src/sctp/chunks/ShutdownAssociationChunk.cpp:47:10: warning: unused variable 'flag' [-Wunused-variable]
npm ERR!         uint8_t flag    = reader.Get1(); //Ignored, should be 0
npm ERR!                 ^
npm ERR! In file included from ../media-server/ext/libdatachannels/src/Datachannels.cpp:22:
npm ERR! ../media-server/ext/libdatachannels/src/sctp/chunks/ForwardCumulativeTSNChunk.cpp:47:10: warning: unused variable 'flag' [-Wunused-variable]
npm ERR!         uint8_t flag    = reader.Get1(); //Ignored, should be 0
npm ERR!                 ^
npm ERR! ../media-server/ext/libdatachannels/src/sctp/chunks/ForwardCumulativeTSNChunk.cpp:48:11: warning: unused variable 'length' [-Wunused-variable]
npm ERR!         uint16_t length = reader.Get2();
npm ERR!                  ^
npm ERR! ../media-server/ext/libdatachannels/src/sctp/chunks/ForwardCumulativeTSNChunk.cpp:45:9: warning: unused variable 'mark' [-Wunused-variable]
npm ERR!         size_t mark     = reader.Mark();
npm ERR!                ^
npm ERR! In file included from ../media-server/ext/libdatachannels/src/Datachannels.cpp:24:
npm ERR! ../media-server/ext/libdatachannels/src/sctp/chunks/PaddingChunk.cpp:52:9: warning: unused variable 'mark' [-Wunused-variable]
npm ERR!         size_t mark     = reader.Mark();
npm ERR!                ^
npm ERR! ../media-server/ext/libdatachannels/src/sctp/chunks/PaddingChunk.cpp:54:10: warning: unused variable 'flag' [-Wunused-variable]
npm ERR!         uint8_t flag    = reader.Get1(); //Ignored, should be 0
npm ERR!                 ^
npm ERR! 2 warnings generated.
npm ERR! warning: unknown warning option '-Wno-aligned-allocation-availability'; did you mean '-Wno-partial-availability'? [-Wunknown-warning-option]
npm ERR! warning: unknown warning option '-Wno-aligned-allocation-unavailable'; did you mean '-Wno-debug-compression-unavailable'? [-Wunknown-warning-option]
npm ERR! In file included from ../media-server/ext/libdatachannels/src/Datachannels.cpp:2:
npm ERR! In file included from ../media-server/ext/libdatachannels/src/Datachannel.cpp:1:
npm ERR! In file included from ../media-server/ext/libdatachannels/src/Datachannel.h:5:
npm ERR! ../media-server/ext/libdatachannels/src/sctp/Stream.h:38:15: warning: private field 'association' is not used [-Wunused-private-field]
npm ERR!         Association &association;
npm ERR!                      ^
npm ERR! In file included from ../media-server/ext/libdatachannels/src/Datachannels.cpp:3:
npm ERR! In file included from ../media-server/ext/libdatachannels/src/Endpoint.cpp:1:
npm ERR! In file included from ../media-server/ext/libdatachannels/src/Endpoint.h:4:
npm ERR! ../media-server/ext/libdatachannels/src/sctp/Association.h:89:11: warning: private field 'remoteAdvertisedReceiverWindowCredit' is not used [-Wunused-private-field]
npm ERR!         uint32_t remoteAdvertisedReceiverWindowCredit = 0;
npm ERR!                  ^
npm ERR! ../media-server/ext/libdatachannels/src/sctp/Association.h:101:9: warning: private field 'numberOfPacketsWithoutAcknowledge' is not used [-Wunused-private-field]
npm ERR!         size_t numberOfPacketsWithoutAcknowledge = 0;
npm ERR!                ^
npm ERR! In file included from ../media-server/src/ActiveSpeakerMultiplexer.cpp:1:
npm ERR! In file included from ../media-server/include/ActiveSpeakerMultiplexer.h:5:
npm ERR! In file included from ../media-server/include/rtp/RTPStreamTransponder.h:17:
npm ERR! In file included from ../media-server/include/rtp.h:38:
npm ERR! ../media-server/include/rtp/RTPIncomingMediaStreamMultiplexer.h:24:15: warning: 'Mute' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
npm ERR!         virtual void Mute(bool muting);
npm ERR!                      ^
npm ERR! ../media-server/include/rtp/RTPIncomingMediaStream.h:46:15: note: overridden virtual function is here
npm ERR!         virtual void Mute(bool muting) = 0;
npm ERR!                      ^
npm ERR! In file included from ../media-server/src/ActiveSpeakerMultiplexer.cpp:1:
npm ERR! In file included from ../media-server/include/ActiveSpeakerMultiplexer.h:5:
npm ERR! In file included from ../media-server/include/rtp/RTPStreamTransponder.h:17:
npm ERR! In file included from ../media-server/include/rtp.h:40:
npm ERR! ../media-server/include/rtp/RTPIncomingSourceGroup.h:33:15: warning: 'Mute' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
npm ERR!         virtual void Mute(bool muting);
npm ERR!                      ^
npm ERR! ../media-server/include/rtp/RTPIncomingMediaStream.h:46:15: note: overridden virtual function is here
npm ERR!         virtual void Mute(bool muting) = 0;
npm ERR!                      ^
npm ERR! ../media-server/src/ActiveSpeakerMultiplexer.cpp:80:85: error: cannot pass object of non-trivial type 'RTPIncomingMediaStream::shared' (aka 'shared_ptr<RTPIncomingMediaStream>') through variadic function; call will abort at runtime [-Wnon-pod-varargs]
npm ERR!         Debug("-ActiveSpeakerMultiplexer::AddIncomingSourceGroup() [incoming:%p,id:%d]\n", incoming, id);
npm ERR!                                                                                            ^
npm ERR! ../media-server/src/ActiveSpeakerMultiplexer.cpp:99:82: error: cannot pass object of non-trivial type 'RTPIncomingMediaStream::shared' (aka 'shared_ptr<RTPIncomingMediaStream>') through variadic function; call will abort at runtime [-Wnon-pod-varargs]
npm ERR!         Debug("-ActiveSpeakerMultiplexer::RemoveIncomingSourceGroup() [incoming:%p]\n", incoming);
npm ERR!                                                                                         ^
npm ERR! ../media-server/src/ActiveSpeakerMultiplexer.cpp:105:89: error: cannot pass object of non-trivial type 'const RTPIncomingMediaStream::shared' (aka 'const shared_ptr<RTPIncomingMediaStream>') through variadic function; call will abort at runtime [-Wnon-pod-varargs]
npm ERR!                 Debug("-ActiveSpeakerMultiplexer::RemoveIncomingSourceGroup() async [incoming:%p]\n", incoming);
npm ERR!                                                                                                       ^
npm ERR! /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/type_traits:3545:23: note: in instantiation of function template specialization 'ActiveSpeakerMultiplexer::RemoveIncomingSourceGroup(RTPIncomingMediaStream::shared)::(anonymous class)::operator()<std::__1::chrono::duration<long long, std::__1::ratio<1, 1000> > >' requested here
npm ERR! _LIBCPP_INVOKE_RETURN(_VSTD::forward<_Fp>(__f)(_VSTD::forward<_Args>(__args)...))
npm ERR!                       ^
npm ERR! /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__config:840:15: note: expanded from macro '_VSTD'
npm ERR! #define _VSTD std::_LIBCPP_ABI_NAMESPACE
npm ERR!               ^
npm ERR! /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/type_traits:3561:5: note: while substituting deduced template arguments into function template '__invoke' [with _Fp = (lambda at ../media-server/src/ActiveSpeakerMultiplexer.cpp:104:19) &, _Args = <std::__1::chrono::duration<long long, std::__1::ratio<1, 1000> >>]
npm ERR!     _VSTD::__invoke(_VSTD::declval<_XFp>(), _VSTD::declval<_XArgs>()...));
npm ERR!     ^
npm ERR! /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__config:840:15: note: expanded from macro '_VSTD'
npm ERR! #define _VSTD std::_LIBCPP_ABI_NAMESPACE
npm ERR!               ^
npm ERR! /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/type_traits:3567:28: note: while substituting deduced template arguments into function template '__try_call' [with _XFp = (lambda at ../media-server/src/ActiveSpeakerMultiplexer.cpp:104:19) &, _XArgs = (no value)]
npm ERR!   using _Result = decltype(__try_call<_Fp, _Args...>(0));
npm ERR!                            ^
npm ERR! /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/type_traits:477:60: note: in instantiation of template class 'std::__1::__invokable_r<void, (lambda at ../media-server/src/ActiveSpeakerMultiplexer.cpp:104:19) &, std::__1::chrono::duration<long long, std::__1::ratio<1, 1000> > >' requested here
npm ERR!   using _AndImpl _LIBCPP_NODEBUG_TYPE = typename _MetaBase<_First::value == true && sizeof...(_Rest) != 0>::template _AndImpl<_First, _Rest...>;
npm ERR!                                                            ^
npm ERR! /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/type_traits:477:3: note: in instantiation of template type alias '_AndImpl' requested here
npm ERR!   using _AndImpl _LIBCPP_NODEBUG_TYPE = typename _MetaBase<_First::value == true && sizeof...(_Rest) != 0>::template _AndImpl<_First, _Rest...>;
npm ERR!   ^
npm ERR! /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/type_traits:498:1: note: (skipping 1 context in backtrace; use -ftemplate-backtrace-limit=0 to see all)
npm ERR! using _And _LIBCPP_NODEBUG_TYPE = typename _MetaBase< sizeof...(_Rest) != 0 >::template _AndImpl<true_type, _Rest...>;
npm ERR! ^
npm ERR! /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/functional:2331:33: note: in instantiation of template type alias '_And' requested here
npm ERR!     template <class _Fp, bool = _And<
npm ERR!                                 ^
npm ERR! /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/functional:2350:48: note: in instantiation of default argument for '__callable<(lambda at ../media-server/src/ActiveSpeakerMultiplexer.cpp:104:19)>' required here
npm ERR!   using _EnableIfCallable = typename enable_if<__callable<_Fp>::value>::type;
npm ERR!                                                ^~~~~~~~~~~~~~~
npm ERR! /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/functional:2361:33: note: in instantiation of template type alias '_EnableIfCallable' requested here
npm ERR!     template<class _Fp, class = _EnableIfCallable<_Fp>>
npm ERR!                                 ^
npm ERR! /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/functional:2362:5: note: in instantiation of default argument for 'function<(lambda at ../media-server/src/ActiveSpeakerMultiplexer.cpp:104:19)>' required here
npm ERR!     function(_Fp);
npm ERR!     ^~~~~~~~~~~~~
npm ERR! ../media-server/src/ActiveSpeakerMultiplexer.cpp:104:19: note: while substituting deduced template arguments into function template 'function' [with _Fp = (lambda at ../media-server/src/ActiveSpeakerMultiplexer.cpp:104:19), $1 = (no value)]
npm ERR!         timeService.Sync([=](const auto& now) {
npm ERR!                          ^
npm ERR! ../media-server/src/ActiveSpeakerMultiplexer.cpp:111:99: error: cannot pass object of non-trivial type 'const RTPIncomingMediaStream::shared' (aka 'const shared_ptr<RTPIncomingMediaStream>') through variadic function; call will abort at runtime [-Wnon-pod-varargs]
npm ERR!                         Debug("-ActiveSpeakerMultiplexer::RemoveIncomingSourceGroup() async not found[incoming:%p]\n", incoming);
npm ERR!                                                                                                                        ^
npm ERR! In file included from ../src/media-server_wrap.cxx:1442:
npm ERR! In file included from ../src/../media-server/include/rtp.h:38:
npm ERR! ../media-server/include/rtp/RTPIncomingMediaStreamMultiplexer.h:24:15: warning: 'Mute' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
npm ERR!         virtual void Mute(bool muting);
npm ERR!                      ^
npm ERR! ../media-server/include/rtp/RTPIncomingMediaStream.h:46:15: note: overridden virtual function is here
npm ERR!         virtual void Mute(bool muting) = 0;
npm ERR!                      ^
npm ERR! In file included from ../src/media-server_wrap.cxx:1442:
npm ERR! In file included from ../src/../media-server/include/rtp.h:40:
npm ERR! ../media-server/include/rtp/RTPIncomingSourceGroup.h:33:15: warning: 'Mute' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
npm ERR!         virtual void Mute(bool muting);
npm ERR!                      ^
npm ERR! ../media-server/include/rtp/RTPIncomingMediaStream.h:46:15: note: overridden virtual function is here
npm ERR!         virtual void Mute(bool muting) = 0;
npm ERR!                      ^
npm ERR! 4 warnings and 4 errors generated.
npm ERR! make: *** [Release/obj.target/medooze-media-server/media-server/src/ActiveSpeakerMultiplexer.o] Error 1
npm ERR! make: *** Waiting for unfinished jobs....
npm ERR! In file included from ../src/media-server_wrap.cxx:1443:
npm ERR! In file included from ../src/../media-server/include/rtpsession.h:18:
npm ERR! In file included from ../media-server/include/RTPTransport.h:22:
npm ERR! ../media-server/include/EventLoop.h:124:2: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
npm ERR!         const auto GetPipe() const
npm ERR!         ^~~~~~
npm ERR! In file included from ../src/media-server_wrap.cxx:1447:
npm ERR! In file included from ../src/../media-server/include/mp4recorder.h:7:
npm ERR! In file included from ../media-server/include/video.h:8:
npm ERR! ../media-server/include/VideoBuffer.h:66:2: warning: explicitly defaulted default constructor is implicitly deleted [-Wdefaulted-function-deleted]
npm ERR!         VideoBuffer() = default;
npm ERR!         ^
npm ERR! ../media-server/include/VideoBuffer.h:106:8: note: default constructor of 'VideoBuffer' is implicitly deleted because field 'planeY' has no default constructor
npm ERR!         Plane   planeY;
npm ERR!                 ^
npm ERR! ../src/media-server_wrap.cxx:1523:7: warning: 'MakeCallback' is deprecated [-Wdeprecated-declarations]
npm ERR!         Nan::MakeCallback(local, callback.ToLocalChecked(), argc, argv);
npm ERR!              ^
npm ERR! ../../nan/nan.h:1030:3: note: 'MakeCallback' has been explicitly marked deprecated here
npm ERR!   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
npm ERR!   ^
npm ERR! ../../nan/nan.h:110:40: note: expanded from macro 'NAN_DEPRECATED'
npm ERR! # define NAN_DEPRECATED __attribute__((deprecated))
npm ERR!                                        ^
npm ERR! ../src/media-server_wrap.cxx:2611:15: warning: 'onMediaFrame' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
npm ERR!         virtual void onMediaFrame(DWORD ssrc, const MediaFrame &frame)
npm ERR!                      ^
npm ERR! ../media-server/include/media.h:25:16: note: overridden virtual function is here
npm ERR!                 virtual void onMediaFrame(DWORD ssrc, const MediaFrame &frame) = 0;
npm ERR!                              ^
npm ERR! ../src/media-server_wrap.cxx:15500:5: error: cannot use 'try' with exceptions disabled
npm ERR!     try {
npm ERR!     ^
npm ERR! 49 warnings generated.
npm ERR! In file included from ../src/media-server_wrap.cxx:1442:
npm ERR! In file included from ../media-server/include/rtp.h:40:
npm ERR! In file included from ../media-server/include/rtp/RTPIncomingSourceGroup.h:15:
npm ERR! In file included from ../media-server/include/remoterateestimator.h:12:
npm ERR! In file included from ../media-server/include/remoteratecontrol.h:13:
npm ERR! ../media-server/include/EventSource.h:23:8: warning: private field 'source' is not used [-Wunused-private-field]
npm ERR!         char* source;
npm ERR!               ^
npm ERR! In file included from ../src/media-server_wrap.cxx:1447:
npm ERR! In file included from ../src/../media-server/include/mp4recorder.h:7:
npm ERR! In file included from ../media-server/include/video.h:9:
npm ERR! ../media-server/include/VideoBufferPool.h:75:14: warning: private field 'maxallocate' is not used [-Wunused-private-field]
npm ERR!         std::size_t maxallocate = 0;
npm ERR!                     ^
npm ERR! 10 warnings and 1 error generated.
npm ERR! make: *** [Release/obj.target/medooze-media-server/src/media-server_wrap.o] Error 1
npm ERR! 2 warnings generated.
npm ERR! gyp ERR! build error 
npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2
npm ERR! gyp ERR! stack     at ChildProcess.onExit (/Users/dragon/.nvm/versions/node/v16.18.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:203:23)
npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:513:28)
npm ERR! gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:293:12)
npm ERR! gyp ERR! System Darwin 19.6.0
npm ERR! gyp ERR! command "/Users/dragon/.nvm/versions/node/v16.18.0/bin/node" "/Users/dragon/.nvm/versions/node/v16.18.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--jobs=max"
npm ERR! gyp ERR! cwd /Users/dragon/Code/demo-medooze-server/node_modules/medooze-media-server
npm ERR! gyp ERR! node -v v16.18.0
npm ERR! gyp ERR! node-gyp -v v9.3.1
npm ERR! gyp ERR! not ok
@vladislavsuljanovs
Copy link

Same

@vladislavsuljanovs
Copy link

@mahmoudkortobaa how did you solve this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants