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

Undefined is not a function in readable-stream this.once #4

Open
bmpvieira opened this issue Aug 15, 2014 · 0 comments
Open

Undefined is not a function in readable-stream this.once #4

bmpvieira opened this issue Aug 15, 2014 · 0 comments

Comments

@bmpvieira
Copy link

Hey! I'm not sure if this bug belongs here, but if I do:

npm i browserify browserify-fs through2 beefy --save

and have a file like test.js:

var fs = require('browserify-fs')
var through = require('through2')
var t = through()

When I run beefy or testling I get in any readable-stream module the error:

Uncaught TypeError: undefined is not a function in _stream_duplex.js at line 71:
this.once('end', onend);

This error doesn't occur If I don't use browserify-fs or if I use and old version of browserify like 3.6.41.

My versions in package.json are:

  "dependencies": {
    "beefy": "^2.1.0",
    "browserify": "^5.10.0",
    "browserify-fs": "^1.0.0",
    "through2": "^0.6.1"
  }
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

No branches or pull requests

1 participant