Giter VIP home page Giter VIP logo

simple_webrtc_nodejs_client's People

Contributors

aljanabim avatar frankjjiang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

simple_webrtc_nodejs_client's Issues

First message lost in chat app

In terminal chat app example, after peers connect via the signaling server, the first chat message cannot be sent to any peers. After throwing the first chat message away, chat app proceeds to function as expected.

Yarn install fails

Doesn't look to be platform-specific, but rather a missing tarball...nonetheless:
MacBook Pro w/M2 Pro
MacOS Ventura 13.4

% yarn install
yarn install v1.22.19
[1/5] ๐Ÿ” Validating package.json...
[2/5] ๐Ÿ” Resolving packages...
[3/5] ๐Ÿšš Fetching packages...
[4/5] ๐Ÿ”— Linking dependencies...
warning "[email protected]" is missing a bundled dependency "node-pre-gyp". This should be reported to the package maintainer.
[5/5] ๐Ÿ”จ Building fresh packages...
[1/2] โข€ wrtc
error /Users/redacted/Dev/Apps/WebRTCDemo/webrtc_nodejs_client/node_modules/wrtc: Command failed.
Exit code: 1
Command: node scripts/download-prebuilt.js
Arguments:
Directory: /Users/redacted/Dev/Apps/WebRTCDemo/webrtc_nodejs_client/node_modules/wrtc
Output:
node-pre-gyp info it worked if it ends with ok
node-pre-gyp info using [email protected]
node-pre-gyp info using [email protected] | darwin | arm64
node-pre-gyp WARN Using needle for node-pre-gyp https download
node-pre-gyp info check checked for "/Users/redacted/Dev/Apps/WebRTCDemo/webrtc_nodejs_client/node_modules/wrtc/build/Release/wrtc.node" (not found)
node-pre-gyp http GET https://node-webrtc.s3.amazonaws.com/wrtc/v0.4.7/Release/darwin-arm64.tar.gz
node-pre-gyp http 404 https://node-webrtc.s3.amazonaws.com/wrtc/v0.4.7/Release/darwin-arm64.tar.gz
node-pre-gyp ERR! install error
node-pre-gyp ERR! stack Error: 404 status code downloading tarball https://node-webrtc.s3.amazonaws.com/wrtc/v0.4.7/Release/darwin-arm64.tar.gz
node-pre-gyp ERR! stack at PassThrough. (/Users/redacted/Dev/Apps/WebRTCDemo/webrtc_nodejs_client/node_modules/node-pre-gyp/lib/install.js:149:27)
node-pre-gyp ERR! stack at PassThrough.emit (node:events:523:35)
node-pre-gyp ERR! stack at ClientRequest. (/Users/redacted/Dev/Apps/WebRTCDemo/webrtc_nodejs_client/node_modules/needle/lib/needle.js:508:9)
node-pre-gyp ERR! stack at Object.onceWrapper (node:events:626:26)
node-pre-gyp ERR! stack at ClientRequest.emit (node:events:511:28)
node-pre-gyp ERR! stack at HTTPParser.parserOnIncomingClient [as onIncoming] (node:_http_client:693:27)
node-pre-gyp ERR! stack at HTTPParser.parserOnHeadersComplete (node:_http_common:119:17)
node-pre-gyp ERR! stack at TLSSocket.socketOnData (node:_http_client:535:22)
node-pre-gyp ERR! stack at TLSSocket.emit (node:events:511:28)
node-pre-gyp ERR! stack at addChunk (node:internal/streams/readable:332:12)
node-pre-gyp ERR! System Darwin 22.5.0
node-pre-gyp ERR! command "/opt/homebrew/Cellar/node/20.3.0/bin/node" "/Users/redacted/Dev/Apps/WebRTCDemo/webrtc_nodejs_client/node_modules/wrtc/node_modules/.bin/node-pre-gyp" "install"
node-pre-gyp ERR! cwd /Users/redacted/Dev/Apps/WebRTCDemo/webrtc_nodejs_client/node_modules/wrtc
node-pre-gyp ERR! node -v v20.3.0
node-pre-gyp ERR! node-pre-gyp -v v0.13.0
node-pre-gyp ERR! not ok
404 status code downloading tarball https://node-webrtc.s3.amazonaws.com/wrtc/v0.4.7/Release/darwin-arm64.tar.gz

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.