OutgoingMessage.prototype._headers is deprecated
See original GitHub issueDescription
After migration to Gatsby 3, I’m experiencing this deprecation warning, but cannot find, which module is causing it.
verbose Transition to "runningQueries" > "calculatingDirtyQueries"
verbose Transition to "runningQueries" > "runningStaticQueries"
verbose Transition to "runningQueries" > "runningPageQueries"
ERROR
(node:28688) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated
success run page queries - 0.867s - 2/2 2.31/s
verbose Transition to "runningQueries" > "waitingForJobs"
verbose Transition to "runningQueries" > "done"
verbose Transition to "startingDevServers"
Environment
System:
OS: Windows 10 10.0.18363
CPU: (12) x64 Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz
Binaries:
Node: 12.13.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.5 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
npm: 6.12.0 - C:\Program Files\nodejs\npm.CMD
Languages:
Python: 3.9.1 - /c/Users/Artem Shteltser/AppData/Local/Programs/Python/Python39/python
Browsers:
Edge: Spartan (44.18362.449.0)
npmPackages:
gatsby: ^3.0.1 => 3.0.1
gatsby-plugin-emotion: ^6.0.0 => 6.0.0
gatsby-plugin-env-variables: ^2.0.0 => 2.0.0
gatsby-plugin-eslint: ^3.0.0 => 3.0.0
gatsby-plugin-google-fonts-v2: ^0.0.6 => 0.0.6
gatsby-plugin-image: ^1.0.0 => 1.0.0
gatsby-plugin-manifest: ^3.0.0 => 3.0.0
gatsby-plugin-module-resolver: ^1.0.3 => 1.0.3
gatsby-plugin-offline: ^4.0.0 => 4.0.0
gatsby-plugin-portal: ^1.0.7 => 1.0.7
gatsby-plugin-postcss: ^4.0.0 => 4.0.0
gatsby-plugin-react-helmet: ^4.0.0 => 4.0.0
gatsby-plugin-sharp: ^3.0.0 => 3.0.0
gatsby-plugin-sitemap: ^3.0.0 => 3.0.0
gatsby-source-filesystem: ^3.0.0 => 3.0.0
gatsby-source-graphql: ^3.0.0 => 3.0.0
gatsby-transformer-sharp: ^3.0.0 => 3.0.0
Issue Analytics
- State:
- Created 3 years ago
- Reactions:4
- Comments:27 (5 by maintainers)
Top Results From Across the Web
How to fix (node:12388) [DEP0066] DeprecationWarning ...
When I started project I got warning from node ([DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated) every time.
Read more >OutgoingMessage.prototype._headers is deprecated #322
Getting, OutgoingMessage.prototype. ... _headers is deprecated warning. Node_Doc: ... Fix response headers usage with upcoming node changes ...
Read more >OutgoingMessage.prototype._headers is deprecated ...
Hi there, thank you guys for making balenaOS! I try to get a simple node.js with the gcloudsdk working but the image can't...
Read more >OutgoingMessage.prototype._headers is depreciated, in stock ...
Tell us what's happening: I believe I've set up the helmet.js properly with the following code in my server. app.use(helmet()) ...
Read more >Answered: how to fix this problem in node js - Bartleby
(node:41392) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated (Use `node… ... <div id="header-div"class="container">
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 FreeTop 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
Top GitHub Comments
dear friends, raising the version of got solves the issue for me.
yarn add got@latest
thanks to this blog… https://kikunantoka.com/2021/03/15--migrate-from-gatsby-v2-to-gatsby-v3/
Looks like old
got
versions,timed-out
has been removed in newer versions ofgot
. Not sure how this could be solved. This only started happening after I added some remote file nodes for sharp as shown in this guide.