question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Breaking changes to readable-stream

See original GitHub issue

When using simple-peer with readable-stream 2.2.8, receiving the following exception upon peer creation:

Uncaught TypeError: this.once is not a function
    at Peer.Duplex (eval at <anonymous> (bundle.js:131), <anonymous>:53:8)
    at new Peer (eval at <anonymous> (bundle.js:1521), <anonymous>:29:17)

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:13 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
ferosscommented, Apr 8, 2017

Looks like readable-stream is aware of the issue: https://github.com/nodejs/readable-stream/issues/277

1reaction
Parasrahcommented, Apr 8, 2017

Correct me if I’m wrong @RationalCoding but the dependency for readable-stream is set with ^, so it will continue to pull changes from downstream until a major version change

Read more comments on GitHub >

github_iconTop Results From Across the Web

Introducing readable-stream 4.0.0 - NearForm
Exciting Updates, Improvements and Additions in readable-stream 4.0.0 ... readable-stream is an NPM package which aims to make the latest Node.js ...
Read more >
ReadableStream - Web APIs - MDN Web Docs
Chrome Edge ReadableStream Full support. Chrome43. Toggle history Full support. Edge14... ReadableStream() constructor Full support. Chrome43. Toggle history Full support. Edge79... cancel Full support. Chrome43. Toggle...
Read more >
readable-stream - npm
The breaking changes introduced by v3 are composed by the combined breaking changes in Node v9 and Node v10, as follows:
Read more >
Stream | Node.js v19.3.0 Documentation
The 'pipe' event is emitted when the stream.pipe() method is called on a readable stream, adding this writable to its set of destinations....
Read more >
readable-stream - npm Package Health Analysis - Snyk
Learn more about readable-stream: package health score, popularity, security, maintenance, versions and more.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found