Mediasoup unable to install in Windows

Hi I am unable to install mediasoup library in windows 10. I am getting unsupported platform error.
Please tell what shall I do in order to install mediasoup in windows?

You don’t even tell whether your host satisfies installation requirements. Hard to help, sorry.

Besides the obvious things like downloading the correct file, checking system requirements, here’s what finally worked for me after 2 days worth of trying, and looking at github issue list

  1. Install Python 2.7.15 to C:\Users\[your-folder]\.windows-build-tools\python27 (I don’t remember where I got this folder from, its somewhere in the install instructions)
  2. Set correct path to Python in npm config, windows environment
  3. Remove paths to Python 3 from Windows Environment, if it is installed
  4. Set correct Windows PATH for Visual Studio 2017
    C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin
    C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\IDE
  5. Define GYP_MSVS_VERSION = 2017 in Windows environment

Hit npm install and start praying…

3 Likes