[DEP0131] DeprecationWarning: The legacy HTTP parser is deprecated in Node `12.22.0`
See original GitHub issueBug Description
When running undici@3.3.3
with Node 12.22.0
, we get this warning:
(node:3380211) [DEP0131] DeprecationWarning: The legacy HTTP parser is deprecated.
at internalBinding (internal/bootstrap/loaders.js:136:34)
at process.binding (internal/bootstrap/loaders.js:113:14)
at Object.<anonymous> (/root/code/prisma/src/node_modules/.pnpm/undici@3.3.3/node_modules/undici/lib/node/http-parser.js:4:32)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object.<anonymous> (/root/code/prisma/src/node_modules/.pnpm/undici@3.3.3/node_modules/undici/lib/core/client.js:5:20)
Is there anything we can do to disable it? Thanks!
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
[2.1.1] (node:11737) [DEP0131] DeprecationWarning ... - GitHub
The legacy HTTP parser, selected by the --http-parser=legacy command line option, is deprecated with the pending End-of-Life of Node.js 10.x ( ...
Read more >The legacy HTTP parser is deprecated - help - Meteor forums
I've started getting this error on a fresh install of Meteor + vue (node:39372) [DEP0131] DeprecationWarning: The legacy HTTP parser is ...
Read more >Node v12.22.0 (LTS)
The legacy HTTP parser, selected by the --http-parser=legacy command line option, is deprecated with the pending End-of-Life of Node.js 10.x ...
Read more >deprecationwarning: the legacy http parser is deprecated.
The legacy HTTP parser, selected by the --http-parser=legacy command line option, is deprecated with the pending End-of-Life of Node.js 10.x (where it is ......
Read more >How to fix: (node:12364) [DEP0111] DeprecationWarning ...
binding('http_parser') is deprecated - Stack Overflow ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Please try 3.3.4
That fixes it! Thanks a lot for taking care of this so quickly. We’ll do our next stable release next week Tuesday, so then we can directly roll out this fix.