-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Sails 0.12.11 DeprecationWarning: Using Buffer without new will soon stop working. #3909
Comments
Hi @kpturner! It looks like you missed a step or two when you created your issue. Please edit your comment (use the pencil icon at the top-right corner of the comment box) and fix the following:
As soon as those items are rectified, post a new comment (e.g. “Ok, fixed!”) below and we'll take a look. Thanks! If you feel this message is in error, or you want to debate the merits of my existence (sniffle), please contact [email protected]. |
Ok, fixed! |
This not be a sails issue but perhaps node-crc |
@kpturner regardless, thanks for the heads up! We'll want to get rid of the message nonetheless, just because it's scary to folks new to Node (and it's not something that shows up in our tests) |
Sails version: 0.12.11
Node version: 7.2.0
NPM version: 4.0.3
Operating system: Centos 6.5
A depreciation warning gets thrown when lifting sails and navigating to one of my routes. This started occuring after upgrading to Node 7.0.0.
(node:3244) DeprecationWarning: Using Buffer without new will soon stop working. Use new Buffer(), or preferably Buffer.from(), Buffer.allocUnsafe() or Buffer.alloc() instead.
at Buffer (buffer.js:79:13)
at C:\app\node_modules\crc\lib\crc32.js:17:11
at fn (C:\app\node_modules\crc\lib\create.js:5:12)
at hash (C:\app\node_modules\express-session\index.js:528:10)
Looks like express-session needs upgrading to the latest version (1.14.1)
The text was updated successfully, but these errors were encountered: