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

Error in NODEJS production #247

Closed
MasterProvider opened this issue Mar 13, 2024 · 1 comment
Closed

Error in NODEJS production #247

MasterProvider opened this issue Mar 13, 2024 · 1 comment

Comments

@MasterProvider
Copy link

Error in NODEJS production
(node:3554) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.

@adnanlah
Copy link

Hello, I don't know what are you planning to do but I think the error is self explanatory. You should use Buffer.from(someValue) instead of Buffer(someValue).

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