Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install error #548

Closed
vkazmirchuk opened this issue Jun 15, 2020 · 0 comments · Fixed by #551
Closed

Install error #548

vkazmirchuk opened this issue Jun 15, 2020 · 0 comments · Fixed by #551

Comments

@vkazmirchuk
Copy link

When trying to install the server in Docker with the command:
./docker/conference/build_server.sh -p ~/testApp -i testapp_img

Getting an error:

Following targets will be built:
 video-mixer-sw
 video-transcoder-sw
 video-analyzer-sw
 internal-io
 logger
 media-frame-multicaster
 audio
 webrtc-conn
 webrtc-frame
 avstream
 sip
 video-mixer-msdk
 video-transcoder-msdk
Building addon - video-mixer-sw
gyp ERR! configure error
gyp ERR! stack Error: ENOENT: no such file or directory, mkdir '/root/.cache/node-gyp/8.15.0'
gyp ERR! System Linux 4.15.0-50-generic
gyp ERR! command "/usr/local/bin/node" "/usr/local/bin/node-gyp" "rebuild" "-j" "2" "--loglevel=error"
gyp ERR! cwd /home/owt-server/source/agent/video/videoMixer/videoMixer_sw
gyp ERR! node -v v8.15.0
gyp ERR! node-gyp -v v7.0.0
gyp ERR! not ok
child_process.js:650
    throw err;
    ^

Error: Command failed: node-gyp rebuild -j 2 --loglevel=error
    at checkExecSyncError (child_process.js:607:13)
    at execSync (child_process.js:647:13)
    at buildTarget (/home/owt-server/scripts/build.js:130:5)
    at buildList.map (/home/owt-server/scripts/build.js:161:10)
    at Array.map (<anonymous>)
    at Object.<anonymous> (/home/owt-server/scripts/build.js:156:23)
    at Module._compile (module.js:653:30)
    at Object.Module._extensions..js (module.js:664:10)
    at Module.load (module.js:566:32)
    at tryModuleLoad (module.js:506:12)
ERROR: Service 'owt-server' failed to build: The command '/bin/sh -c cd /home && git clone --depth=1 -b ${OWT_BRANCH} ${OWT_SDK_REPO} && cd owt-client-javascript/scripts && npm install && grunt  &&     mkdir ${SERVER_PATH}/third_party/quic-lib &&     export LD_LIBRARY_PATH=/usr/local/lib/x86_64-linux-gnu &&     cd ${SERVER_PATH}/third_party/quic-lib && wget https://github.com/open-webrtc-toolkit/owt-deps-quic/releases/download/v0.1/dist.tgz && tar xzf dist.tgz &&     cd ${SERVER_PATH} && export PKG_CONFIG_PATH=/usr/local/lib/x86_64-linux-gnu/pkgconfig && ./scripts/build.js -t mcu-all -r -c &&     ./scripts/pack.js -t all --install-module --no-pseudo --app-path /home/owt-client-javascript/dist/samples/conference' returned a non-zero code: 1```
@qwu16 qwu16 linked a pull request Jun 17, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant