Unable to install dependencies in "versatica / mediasoup-demo"


I am trying to install dependencies in mediasoup-demo repo using “npm install” but getting following error:

make[1]: Circular /home/hammad/Node ← /home/hammad/Node dependency dropped.
make[1]: Circular Practice/mediasoup-demo/server/node_modules/mediasoup/worker/out/Release/obj.target/mediasoup-worker/src/lib.o ← /home/hammad/Node dependency dropped.
make[1]: Circular Practice/mediasoup-demo/server/node_modules/mediasoup/worker/out/Release/libnetstring.a ← /home/hammad/Node dependency dropped.
make[1]: Circular Practice/mediasoup-demo/server/node_modules/mediasoup/worker/out/Release/obj.target/deps/netstring/libnetstring.a ← /home/hammad/Node dependency dropped.
make[1]: *** No rule to make target ‘Practice/mediasoup-demo/server/node_modules/mediasoup/worker/out/Release/obj.target/netstring/deps/netstring/netstring-c/netstring.o’, needed by ‘Practice/mediasoup-demo/server/node_modules/mediasoup/worker/out/Release/obj.target/deps/netstring/libnetstring.a’. Stop.
make[1]: Leaving directory ‘/home/hammad/Node Practice/mediasoup-demo/server/node_modules/mediasoup/worker/out’
make: *** [Makefile:25: default] Error 2
make: Leaving directory ‘/home/hammad/Node Practice/mediasoup-demo/server/node_modules/mediasoup/worker’
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“linux”,“arch”:“x64”})
npm ERR! errno 1
npm ERR! mediasoup@3.7.9 postinstall: node npm-scripts.js postinstall
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the mediasoup@3.7.9 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! /home/hammad/.npm/_logs/2021-06-01T05_54_22_813Z-debug.log
hammad@hammad-Latitude-E5470:~/Node Practice/mediasoup-demo/server$

OS: Ubuntu 20.04
Node version: v14.5.0
npm version: 6.14.0

gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
g++: 9.3.0
python : 3.8.0
make: 4.2.1

I also try with python 2.7.18

Are you able to install mediasoup library by it’s own? mediasoup github actions already build it on Ubuntu 20.04.

I tried but still got error.

Try removing the space to the parent directory: /Node Practice/Node_Practice/

Thank its working
packages installed