Jaideep25
(Jaideep25)
August 25, 2021, 9:26am
1
nazar-pc
(Nazar Mokynskyi)
August 25, 2021, 9:37am
2
Try removing node_modules
and trying again. The error doens’t make much sense to me and I don’t understand why it tries to use node from node_modules
.
Jaideep25
(Jaideep25)
August 25, 2021, 9:49am
3
Hey,
Thanks for replying…
It’s the same error again…
nazar-pc
(Nazar Mokynskyi)
August 25, 2021, 9:58am
4
There must be something broken with the environment you have, I have no idea what is going on, but it is not mediasoup’s fault.
Jaideep25
(Jaideep25)
August 25, 2021, 12:24pm
5
Ow, but actually it works great with Linux and MAC only a prob with WSL2…
Some config problem… ?
ibc
(Iñaki Baz Castillo)
August 25, 2021, 12:31pm
6
Ok, which kind of “config problem” do you suggest?
Jaideep25
(Jaideep25)
August 25, 2021, 3:28pm
7
Like… Am missing some libs in my WSL2 that it ain’t running?
ibc
(Iñaki Baz Castillo)
August 25, 2021, 3:39pm
8
As far as you satisfy mediasoup installation requirements for Windows (described in the website) no extra libs should be required.
nazar-pc
(Nazar Mokynskyi)
August 25, 2021, 3:56pm
9
WSL2 is a Linux environment though
1 Like
giraldi
(giraldi)
August 26, 2021, 1:04am
10
I use mediasoup with wsl2 with no problems … maybe try to sudo npm install ?
Jaideep25
(Jaideep25)
August 26, 2021, 1:30am
11
Had done it long back… Before runnin this…
nazar-pc
(Nazar Mokynskyi)
August 26, 2021, 2:03am
12
I would suggest to never use sudo
with npm
, this is almost always a bad idea.
Jaideep25
(Jaideep25)
August 26, 2021, 5:03am
13
Just got this error on powershell windows… if I run this command…
nazar-pc
(Nazar Mokynskyi)
August 26, 2021, 5:08am
14
Please read mediasoup :: Installation for Windows requirements
Jaideep25
(Jaideep25)
August 30, 2021, 10:50am
16
I’ve got another error after checking the requirements and tryin it again, I use WSL2 on windows 11 :
nazar-pc
(Nazar Mokynskyi)
August 30, 2021, 10:56am
17
WSL2 has nothing to do with Windows, it is a regular Linux environment (Ubuntu by default AFAIK).
Do you even have node
available as a command?
nazar-pc
(Nazar Mokynskyi)
August 30, 2021, 11:04am
19
Then as I mentioned before you need to figure out what is the node
executable in the error you’re getting. It has nothing to do with mediasoup, so can’t help you with that.
snnz
(Sergey Nozhenko)
August 30, 2021, 4:08pm
20
But where is the executable located? Take a look at the script the shell is trying to execute (/mnt/c/Users/…/bin/node). I believe you’ll find a text file with the fisrt word “This” there.