Reputation: 11
I'm getting this type of Deprecation Warning, when i was creating Admin Panel for my android app.
Here's the code for it-
DeprecationWarning: OutgoingMessage.prototype._headers is deprecated
(Use `node --trace-deprecation ...` to show where the warning was created)
this error was displayed in CMD.
I've already tried putting node --trace-deprecation ...
but it gives no results
Upvotes: 1
Views: 9139
Reputation: 1200
I was using express
. I updated my all project version of node.js
, npm
and pm2
. But I use pm2 low version to deploy my project. and I saw this message. When I deploy my project with new version of pm2, it solved.
so there are something running low version according to other tool versions. Find your low version tool and update it.
Upvotes: 0