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

DeprecationWarning: Using Buffer without new will soon stop working #47

Open
tproenca opened this issue Feb 2, 2017 · 3 comments
Open

Comments

@tproenca
Copy link

tproenca commented Feb 2, 2017

Hi,

When using with node 7.1.0, I'm getting the following warning:

Listening on port 9000 (http://localhost:9000)
(node:1) DeprecationWarning: Using Buffer without `new` will soon stop working. Use `new Buffer()`, or preferably `Buffer.from()`, `Buffer.allocUnsafe()` or `Buffer.alloc()` instead.
@scottcorgan
Copy link
Owner

It looks like it's one of the the dependencies (not sure which one yet). Do you have any kind of stack trace?

@WuglyakBolgoink
Copy link
Contributor

image
use anyone node7?)

@Trott
Copy link

Trott commented Apr 26, 2018

The deprecation warning appeared in Node.js 7.0.0 and was reverted a few releases later. Node.js 7 is no longer supported (by Node.js) and is not receiving security updates like the currently-supported versions. This issue can likely be closed.

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

4 participants