-
Notifications
You must be signed in to change notification settings - Fork 5
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
Error when concatenating two streams #3
Comments
Hi there, sorry to hear you're having issues. Without seeing all of your code, first thing I'd do is make sure you're using StreamConcat with the var fs = require("fs");
var StreamConcat = require("stream-concat");
var in1 = fs.createReadStream("a.jpg");
var in2 = fs.createReadStream("b.jpg");
var out = new StreamConcat([in1, in2]); Additionally, I've just updated the project with some tests that may be of use. Let me know if you're still having troubles. |
Right, that may be it. I went through the trouble of updating the code to ES6 and it worked - but probably because my compiler forced me to add the Thank you for your prompt response :) |
Great, glad to hear you got it working. I'll eventually release an ES6 class version as 2.0.0, but for now, it works well on all node versions, so I'm fine leaving it as is. |
I get:
I use node 9.2.
The text was updated successfully, but these errors were encountered: