-
Notifications
You must be signed in to change notification settings - Fork 380
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 when running Node 16 #435
Comments
The reported line looks innocent to me: Line 47 in 96f7495
Not sure what's up. Maybe the detection in node is thrown off by the merging? /cc @sam-github if you know |
The "accessor" that is referred to in the DeprecationWarning most likely refers to |
Aha! I didn't think |
The The quickest, dirtiest, but probably working "patch" is to change gc.js to something like
or if someone is a fan of long lines, then just the Alternatively, some |
Checking the object rather than node version makes sense to me 👍 They might backport it, and it'd be good to use it at that point |
I've proposed a fix in #440 building off the research and discussion provided in this thread. |
We have also started to see these deprecation warnings. Since #440 looks good, but is over two month old I am guessing it might have just been forgotten about and just needs a friendly nudge to get moving again? |
Hi!
It seems starting with Node 16 there's a deprecating warning stemming from prom-client.
We're using a simple setup of
prom.collectDefaultMetrics();
With node@16.0.0, npm@7.5.6 and using
--trace-deprecation
to run our server, we get the following (replaced irrelevant paths with[...]
):Looking at the changelog for Node 16, it seems this is most likely related to this change that overhauled perf_hooks.
The text was updated successfully, but these errors were encountered: