npm install
npm WARN deprecated fsevents@1.2.9: One of your dependencies needs to upgrade to fsevents v2: 1) Proper nodejs v10+ support 2) No more fetching binaries from AWS, smaller package size
websocket@1.0.30 install /wwwroot/mediasoup-demo/server/node_modules/websocket
(node-gyp rebuild 2> builderror.log) || (exit 0)
make: Entering directory /wwwroot/mediasoup-demo/server/node_modules/websocket/build' CXX(target) Release/obj.target/bufferutil/src/bufferutil.o make: Leaving directory
/wwwroot/mediasoup-demo/server/node_modules/websocket/build’
clang-tools-prebuilt@0.1.4 postinstall /wwwroot/mediasoup-demo/server/node_modules/clang-tools-prebuilt
node install.js
unziping /root/.clang-tools/clang-tools-r298696-linux.tgz
mediasoup@3.3.0-pre1 postinstall /wwwroot/mediasoup-demo/server/node_modules/mediasoup
node npm-scripts.js postinstall
npm-scripts.js [INFO] running task “postinstall”
npm-scripts.js [INFO] executing command: make -C worker
make: Entering directory /wwwroot/mediasoup-demo/server/node_modules/mediasoup/worker' /usr/bin/python2 ./scripts/configure.py -R mediasoup-worker Traceback (most recent call last): File "./scripts/configure.py", line 87, in <module> raise RuntimeError('gcc <= 4.8 not supported, please upgrade your gcc') RuntimeError: gcc <= 4.8 not supported, please upgrade your gcc make: *** [default] Error 1 make: Leaving directory
/wwwroot/mediasoup-demo/server/node_modules/mediasoup/worker’
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“linux”,“arch”:“x64”})
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! mediasoup@3.3.0-pre1 postinstall: node npm-scripts.js postinstall
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the mediasoup@3.3.0-pre1 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2019-11-10T14_14_22_385Z-debug.log