-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
events.js:48 throw arguments[1]; // Unhandled 'error' event #641
Comments
This is not in any way related to Socket.IO, if you have issues post them at the node.js mailing list not here. <3 Thanks. |
darrachequesne
pushed a commit
that referenced
this issue
Jul 8, 2024
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.2 to 6.5.3. - [Release notes](https://github.com/indutny/elliptic/releases) - [Commits](indutny/elliptic@v6.5.2...v6.5.3) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
darrachequesne
pushed a commit
that referenced
this issue
Jul 8, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have written below code in streamreader.js file.
var fs = require("fs");
var readStream;
try
{
readStream=fs.createReadStream("hello.txt");
readStream.on('data',function(data){
console.log(data);
});
readStream.on('end',function(){
console.load('file ended');
});
}
catch(err)
{
readStream.on('error',function()
{
console.log(err);
});
}
but when i try to run this file using >node streamreader.js
I am getting below error.
events.js:48
throw arguments[1]; // Unhandled 'error' even
^
Error: ENOENT, The operation completed successfully.
'hello.txt'
Can you help me to resolve this issue?
The text was updated successfully, but these errors were encountered: