What version of node does the v3 demo requires ?

I am looking on GitHub - versatica/mediasoup-demo: mediasoup official demo application.

trying to npm install and getting multiple errors, what version on node does it requires ?

Without knowing what errors do you have, it’s difficult to help you…

Well first if i know which version of Node is required i could go from there i guess.

For uBuntu; this is what I run prerequisites

sudo apt update -y
sudo apt upgrade -y

curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash -

sudo apt install nodejs -y
sudo apt-get install build-essential -y
sudo apt install python3-pip -y
sudo apt update -y
sudo npm install pm2@latest -g
sudo npm install -g npm@latest

So for your answer I’d say go version 16+ for NodeJS.:slight_smile:

This can vary but yeah Node v16+ Always use the latest. :slight_smile:

Ok so for the server the above worked.

on the client (app folder)

npm gives me this error:

ubuntu@ubuntu:~/dev/mediasApp/mediasoup-demo/app$ npm install
npm ERR! code EINVALIDTAGNAME
npm ERR! Invalid tag name “>=^16.0.0”: Tags may not have any characters that encodeURIComponent encodes.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/ubuntu/.npm/_logs/2022-11-23T11_33_55_259Z-debug-0.log

i am using 16.14.0

I am trying to run the client side, keep running to errors.
I solved the above by going to a 14.xx.xx node version

now i am getting

/home/ubuntu/dev/mediasApp/mediasoup-demo/app/gulpfile.js
  58:21  error  Unexpected use of file extension "json" for "./package.json"  import/extensions

/home/ubuntu/dev/mediasApp/mediasoup-demo/app/lib/components/PeerView.jsx
  455:6  error  Invalid property 'playsInline' found on tag 'audio', but it is only allowed on: video  react/no-unknown-property

error

I have the same issue. did you find a fix for the app?

The latest mediasoup server requires 16+.