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

Sono API shows Error #900

Open
surfer-09 opened this issue Jun 25, 2024 · 1 comment
Open

Sono API shows Error #900

surfer-09 opened this issue Jun 25, 2024 · 1 comment

Comments

@surfer-09
Copy link

Hello,

my Sono-API Command Window Shows this Error:

2024-06-25T10:58:39.976Z INFO http server listening on 0.0.0.0 port 5005 (node:6944) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. (Use node --trace-deprecation ... to show where the warning was created)

Error

Version: 1.6.9

Whats the problem?

@ApenJulius
Copy link

@surfer-09 The error message you're seeing is related to the use of the Buffer() constructor, which is deprecated in Node.js. This deprecation is due to potential security vulnerabilities and unexpected behavior associated with the new Buffer() constructor.

To resolve this issue, the code should ideally be update to use the recommended Buffer.from(), Buffer.alloc(), or Buffer.allocUnsafe() methods. These methods provide a safer and more predictable way to create Buffer instances.

Wouldn't hold my breath for such an old project though.

For you specifically... don't worry about it. Project should be working as normal, you just have that little extra text when you start it up

I make no claims to say the rest of this is safe or anything, found this project literally a few minutes ago and just saw this issue with a simple answer

Hope that answers your question!

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

2 participants