-
Notifications
You must be signed in to change notification settings - Fork 1.2k
streams : wrong dependencies execution order #815
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
Comments
After more debugging, this seems to come from this line in isaacs/readable-stream : If I use |
This sounds a lot like what I ran into before reporting #810. When massaging things to get them working, I would frequently notice that certain Readable.prototype values weren't there (like pipe and on). |
Does anybody have a solution for this? I really don't want to have to modify my bundle just to call |
Seems to have been fixed sometime in the past 3½ years. thanks! |
With the following test.js file :
In nodejs, I get the expected
[Function]
loggued.I then use browserify :
In a browser (tested with Firefox 30 and Chromium 35), I get
undefined
.In the generated bundle.js file, if I add a log for each interesting
inherits
call, I get :The Readable class inherits Stream too late, and the other classes don't get its methods (like
on
).The text was updated successfully, but these errors were encountered: