-
Notifications
You must be signed in to change notification settings - Fork 982
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
[DEP0111] deprecation warning from restify's dependency on node 16 #1876
Comments
adding link to dependent issue in spdy 380 |
I have this problem when do ng serve Your global Angular CLI version (12.2.6) is greater than your local version (10.2.3). The local Angular CLI version is used.
|
Any anticipated movement on this? It would be helpful to know if this project is still generally supported. |
Is this resolved in v9? The 9.x branch has Node.js 16 listed in the tested CI environments. |
my log file has so many line that contant: "Access to process.binding('http_parser') is deprecated." and for a year you have not fixed it! |
10% building 3/3 modules 0 active(node:15988) [DEP0111] DeprecationWarning: Access to process.binding('http_parser') is deprecated. |
please any fix for this, it keeps showing in my console and i don't like it |
is it safe to use or i should just use express because i don`t like warning |
I don't know why anyone will use this framework in production, this issue has been around for years and nothing has been done about it. |
I ended up adding
|
It seems Restify 8 supports SPDY as well as HTTP2, by setting As SPDY is considered experimental and deprecated, replaced by HTTP2, it would be an easy fix to just remove SPDY support from e.g. 9+. |
i have to change to use http2 in NginX, nodejs should not use spdy. |
so any plans to just remove spdy support & package? |
According to PR #1929, which adds support for Node 18 but doesn't remove So the good news is that the deprecation does not block upgrading to Node 18 (once a new version of restify is published after the PR is merged). The bad news is that the deprecation warning will still be there. |
Restify 10, Node 16, and still the warning... |
Have you looked into https://www.npmjs.com/package/spdy-fixes which looks like it depends on http-deceiver-fixes. |
Restify Version: 8.5.1
Node.js Version: 16.1.0
Expected behaviour
No node deprecation warnings. This is mostly important in the longer term, because if the subsequent LTS version drops the deprecated functionality, that means that restify will be incompatible with node 18.
Actual behaviour
When starting the server:
Repro case
Installing restify 8.5.1 and spinning up a restify server on node 16 seems to be enough to trigger the warning.
Cause
Dependency chain: restify -> spdy -> http-deceiver
Are you willing and able to fix this?
I don't think I'm able to. The core functionality that accesses
process.binding
lives in thehttp-deceiver
package, which is part ofspdy
.Unless the behavior can be changed there, or the whole dependency can be replaced, I'm not sure what else can be done.
The text was updated successfully, but these errors were encountered: