Skip to content
This repository was archived by the owner on Apr 3, 2024. It is now read-only.
This repository was archived by the owner on Apr 3, 2024. It is now read-only.

[gatsby-plugin-graphql-codegen] ExperimentalWarning: stream/web is an experimental feature #142

@caleb531

Description

@caleb531

Describe the bug

When I recently installed gatsby-plugin-graphql-codegen into my new Gatsby project, I receive the following warning when running gatsby build:

 ERROR 

(node:27912) ExperimentalWarning: stream/web is an experimental feature. This
feature could change at any time
(Use `node --trace-warnings ...` to show where the warning was created)

The plugin still seems to work fine, and my local development process isn't halted. But I am concerned about the stability of this plugin from a warning like this.

To Reproduce

  1. Clone my reproduction project: https://github.com/caleb531/gatsby-graphql-codegen-warning
  2. Run npm install
  3. Run gatsby develop
  4. You will see the above error/warning in the output:

Environment (please complete the relevant info):

  • macOS Monterey (v12.1)
  • Gatsby v4.4.0
  • TypeScript v4.5.4
  • Node v16.5.0
  • gatsby-plugin-graphql-codegen v3.1.0

Additional context
Add any other context about the problem here, gatsby-config, tsconfig.json, etc.

Per my test repository, I have successfully reproduced the issue where gatsby-plugin-graphql-codegen is the only plugin in gatsby-config.js:
https://github.com/caleb531/gatsby-graphql-codegen-warning

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions