I keep running into a deprecation warning during my Gatsby build process. This happens right after I add the fileNode mapping for photos in my plugin settings.
The error message I’m seeing is:
(node:12345) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated
(Use node --trace-deprecation ... to show where the warning was created)
Here’s my current plugin configuration:
{
resolve: `gatsby-source-airtable`,
options: {
apiKey: process.env.AIRTABLE_KEY,
tables: [
{
baseId: process.env.BASE_ID,
tableName: process.env.TABLE_NAME,
mapping: { photo: `fileNode` },
},
],
},
}
I think this might be related to how the Airtable source plugin handles the filesystem integration. When I check older versions of gatsby-source-filesystem (anything below version 3.0.0), I don’t see this warning at all.
Has anyone else run into this issue? I’m not sure if this is coming from the Airtable plugin itself or if it’s a problem with how it interacts with the filesystem plugin.