Closed Ac-ayush closed 2 months ago
👋 thank you for the report. Please provide a minimal reproducible example. Doing so will help us diagnose the issue. It should be the bare minimum code needed to trigger the issue, and easily runnable without any changes or extra code.
You may use a GitHub repository to host the code if it is too much to fit into a code block (or two).
Also, have you tried using --trace-deprecation
to learn where the error originates?
@Ac-ayush This deprecation warning is being thrown by Node itself. There's a notice about it and a recommended remediation in the Node documentation.
Closing this, as it's coming from the Node environment itself, and is not part of New Relic.
Description
I am currently using
Node 14
in my project and am now upgrading it toNode 22.4.0
. However, when I start my project (node app.js) onNode 22.4.0
, it gives me a DeprecationWarning. Previously, I was using "newrelic": "7.1.0" onnode 14
. Now withNode 22
I tried both "newrelic": "7.1.0" and the latest version, "newrelic": "11.22.0", but I am still facing the same issue.@newrelic-node-agent-team @wesrog @kolanos please provide a solution for this.
Getting this description :
Current Node version used in project :
node 14
Upgrading to:node 22.4.0