Giter Club home page Giter Club logo

mediasoup's People

Contributors

jamalag avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

mediasoup's Issues

docker-compose up -d error

hi,When I run docker-compose up -D, I get the following error, which appears to indicate a mack failure after Mediasoup install:

Creating network "mediasoup-2021_default" with the default driver
Building node_soup
[+] Building 320.8s (10/11)
 => [internal] load build definition from Dockerfile                                                                                                                                                0.0s 
 => => transferring dockerfile: 372B                                                                                                                                                                0.0s 
 => [internal] load .dockerignore                                                                                                                                                                   0.0s 
 => => transferring context: 2B                                                                                                                                                                     0.0s 
 => [internal] load metadata for docker.io/library/node:17-alpine3.12                                                                                                                               0.0s 
 => [1/7] FROM docker.io/library/node:17-alpine3.12                                                                                                                                                 0.0s 
 => [internal] load build context                                                                                                                                                                   0.0s 
 => => transferring context: 665B                                                                                                                                                                   0.0s 
 => CACHED [2/7] WORKDIR /usr/code                                                                                                                                                                  0.0s 
 => CACHED [3/7] COPY ./package.json .                                                                                                                                                              0.0s 
 => CACHED [4/7] RUN apk add g++ make python3 linux-headers                                                                                                                                         0.0s 
 => CACHED [5/7] RUN apk add --update py3-pip                                                                                                                                                       0.0s 
 => ERROR [6/7] RUN npm install                                                                                                                                                                   320.7s 
------
 > [6/7] RUN npm install:
#9 320.7 npm notice 
#9 320.7 npm notice New minor version of npm available! 8.3.0 -> 8.19.2
#9 320.7 npm notice Changelog: <https://github.com/npm/cli/releases/tag/v8.19.2>
#9 320.7 npm notice Run `npm install -g [email protected]` to update!
#9 320.7 npm notice
#9 320.7 npm ERR! code 1
#9 320.7 npm ERR! path /usr/code/node_modules/mediasoup
#9 320.7 npm ERR! command failed
#9 320.7 npm ERR! command sh -c node npm-scripts.js postinstall
#9 320.7 npm ERR! npm-scripts.js [INFO] running task "postinstall"
#9 320.7 npm ERR! npm-scripts.js [INFO] executing command: node npm-scripts.js worker:build
#9 320.7 npm ERR! npm-scripts.js [INFO] running task "worker:build"
#9 320.7 npm ERR! npm-scripts.js [INFO] executing command: make -C worker
#9 320.7 npm ERR! make: Entering directory '/usr/code/node_modules/mediasoup/worker'
#9 320.7 npm ERR! # Updated pip and setuptools are needed for meson
#9 320.7 npm ERR! # `--system` is not present everywhere and is only needed as workaround for
#9 320.7 npm ERR! # Debian-specific issue (copied from
#9 320.7 npm ERR! # https://github.com/gluster/gstatus/pull/33), fallback to command without
#9 320.7 npm ERR! # `--system` if the first one fails.
#9 320.7 npm ERR! /usr/bin/python3 -m pip install --system --target=/usr/code/node_modules/mediasoup/worker/out/pip pip setuptools || \
#9 320.7 npm ERR!       /usr/bin/python3 -m pip install --target=/usr/code/node_modules/mediasoup/worker/out/pip pip setuptools || \
#9 320.7 npm ERR!       echo "Installation failed, likely because PIP is unavailable, if you are on Debian/Ubuntu or derivative please install the python3-pip package"
#9 320.7 npm ERR! Collecting pip
#9 320.7 npm ERR!   Downloading pip-22.2.2-py3-none-any.whl (2.0 MB)
#9 320.7 npm ERR! Installation failed, likely because PIP is unavailable, if you are on Debian/Ubuntu or derivative please install the python3-pip package
#9 320.7 npm ERR! # Install `meson` and `ninja` using `pip` into custom location, so we don't
#9 320.7 npm ERR! # depend on system-wide installation.
#9 320.7 npm ERR! /usr/bin/python3 -m pip install --upgrade --target=/usr/code/node_modules/mediasoup/worker/out/pip  meson==0.61.5 ninja
#9 320.7 npm ERR! Collecting meson==0.61.5
#9 320.7 npm ERR!   Downloading meson-0.61.5-py3-none-any.whl (862 kB)
#9 320.7 npm ERR! Collecting ninja
#9 320.7 npm ERR!   Downloading ninja-1.10.2.3.tar.gz (26 kB)
#9 320.7 npm ERR!   Installing build dependencies: started
#9 320.7 npm ERR!   Installing build dependencies: still running...
#9 320.7 npm ERR!   Installing build dependencies: finished with status 'done'
#9 320.7 npm ERR!   Getting requirements to build wheel: started
#9 320.7 npm ERR!   Getting requirements to build wheel: finished with status 'done'
#9 320.7 npm ERR!     Preparing wheel metadata: started
#9 320.7 npm ERR!     Preparing wheel metadata: finished with status 'done'
#9 320.7 npm ERR! Building wheels for collected packages: ninja
#9 320.7 npm ERR!   Building wheel for ninja (PEP 517): started
#9 320.7 npm ERR!   Building wheel for ninja (PEP 517): finished with status 'error'
#9 320.7 npm ERR! Failed to build ninja
#9 320.7 npm ERR! make: Leaving directory '/usr/code/node_modules/mediasoup/worker'
#9 320.7 npm ERR! Usage:
#9 320.7 npm ERR!   /usr/bin/python3 -m pip install [options] <requirement specifier> [package-index-options] ...
#9 320.7 npm ERR!   /usr/bin/python3 -m pip install [options] -r <requirements file> [package-index-options] ...
#9 320.7 npm ERR!   /usr/bin/python3 -m pip install [options] [-e] <vcs project url> ...
#9 320.7 npm ERR!   /usr/bin/python3 -m pip install [options] [-e] <local project path> ...
#9 320.7 npm ERR!   /usr/bin/python3 -m pip install [options] <archive url/path> ...
#9 320.7 npm ERR!
#9 320.7 npm ERR! no such option: --system
#9 320.7 npm ERR! ERROR: Exception:
#9 320.7 npm ERR! Traceback (most recent call last):
#9 320.7 npm ERR!   File "/usr/lib/python3.8/site-packages/urllib3/response.py", line 437, in _error_catcher
#9 320.7 npm ERR!     yield
#9 320.7 npm ERR!   File "/usr/lib/python3.8/site-packages/urllib3/response.py", line 519, in read
#9 320.7 npm ERR!     data = self._fp.read(amt) if not fp_closed else b""
#9 320.7 npm ERR!   File "/usr/lib/python3.8/site-packages/cachecontrol/filewrapper.py", line 62, in read
#9 320.7 npm ERR!     data = self.__fp.read(amt)
#9 320.7 npm ERR!   File "/usr/lib/python3.8/http/client.py", line 455, in read
#9 320.7 npm ERR!     n = self.readinto(b)
#9 320.7 npm ERR!   File "/usr/lib/python3.8/http/client.py", line 499, in readinto
#9 320.7 npm ERR!     n = self.fp.readinto(b)
#9 320.7 npm ERR!   File "/usr/lib/python3.8/socket.py", line 669, in readinto
#9 320.7 npm ERR!     return self._sock.recv_into(b)
#9 320.7 npm ERR!   File "/usr/lib/python3.8/ssl.py", line 1241, in recv_into
#9 320.7 npm ERR!     return self.read(nbytes, buffer)
#9 320.7 npm ERR!   File "/usr/lib/python3.8/ssl.py", line 1099, in read
#9 320.7 npm ERR!     return self._sslobj.read(len, buffer)
#9 320.7 npm ERR! socket.timeout: The read operation timed out
#9 320.7 npm ERR!
#9 320.7 npm ERR! During handling of the above exception, another exception occurred:
#9 320.7 npm ERR!
#9 320.7 npm ERR! Traceback (most recent call last):
#9 320.7 npm ERR!   File "/usr/lib/python3.8/site-packages/pip/_internal/cli/base_command.py", line 188, in _main
#9 320.7 npm ERR!     status = self.run(options, args)
#9 320.7 npm ERR!   File "/usr/lib/python3.8/site-packages/pip/_internal/cli/req_command.py", line 185, in wrapper
#9 320.7 npm ERR!     return func(self, options, args)
#9 320.7 npm ERR!   File "/usr/lib/python3.8/site-packages/pip/_internal/commands/install.py", line 332, in run
#9 320.7 npm ERR!     requirement_set = resolver.resolve(
#9 320.7 npm ERR!   File "/usr/lib/python3.8/site-packages/pip/_internal/resolution/legacy/resolver.py", line 179, in resolve
#9 320.7 npm ERR!     discovered_reqs.extend(self._resolve_one(requirement_set, req))
#9 320.7 npm ERR!   File "/usr/lib/python3.8/site-packages/pip/_internal/resolution/legacy/resolver.py", line 362, in _resolve_one
#9 320.7 npm ERR!     self.gen.throw(type, value, traceback)
#9 320.7 npm ERR!   File "/usr/lib/python3.8/site-packages/urllib3/response.py", line 442, in _error_catcher
#9 320.7 npm ERR!     raise ReadTimeoutError(self._pool, None, "Read timed out.")
#9 320.7 npm ERR! urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.
#9 320.7 npm ERR!   ERROR: Command errored out with exit status 1:
#9 320.7 npm ERR!    command: /usr/bin/python3 /usr/lib/python3.8/site-packages/pep517/_in_process.py build_wheel /tmp/tmpqhmo5gfy
#9 320.7 npm ERR!        cwd: /tmp/pip-install-wk2f413c/ninja
#9 320.7 npm ERR!   Complete output (9 lines):
#9 320.7 npm ERR!     File "/tmp/pip-build-env-ioj3jxmg/overlay/lib/python3.8/site-packages/skbuild/setuptools_wrap.py", line 613, in setup
#9 320.7 npm ERR!       cmkr = cmaker.CMaker(cmake_executable)
#9 320.7 npm ERR!     File "/tmp/pip-build-env-ioj3jxmg/overlay/lib/python3.8/site-packages/skbuild/cmaker.py", line 141, in __init__
#9 320.7 npm ERR!       self.cmake_version = get_cmake_version(self.cmake_executable)
#9 320.7 npm ERR!     File "/tmp/pip-build-env-ioj3jxmg/overlay/lib/python3.8/site-packages/skbuild/cmaker.py", line 95, in get_cmake_version
#9 320.7 npm ERR!       raise SKBuildError(
#9 320.7 npm ERR!   Traceback (most recent call last):
#9 320.7 npm ERR!
#9 320.7 npm ERR!   Problem with the CMake installation, aborting build. CMake executable is cmake
#9 320.7 npm ERR!   ----------------------------------------
#9 320.7 npm ERR!   ERROR: Failed building wheel for ninja
#9 320.7 npm ERR! ERROR: Could not build wheels for ninja which use PEP 517 and cannot be installed directly
#9 320.7 npm ERR! make: *** [Makefile:76: meson-ninja] Error 1
#9 320.7
#9 320.7 npm ERR! A complete log of this run can be found in:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.