[Gatsby.js integration error] Reading from "node:stream" is not handled by plugins
JustFly1984 opened this issue · 1 comments
JustFly1984 commented
Describe the bug
It works perfect during the development, but fails at build time.
Error during gatsby build:
success Building production JavaScript and CSS bundles -
17.879s
ERROR #98123 WEBPACK.BUILD-HTML
Generating SSR bundle failed
Reading from "node:stream" is not handled by plugins
(Unhandled scheme).
Webpack supports "data:" and "file:" URIs by default.
You may need an additional plugin to handle "node:" URIs.
File: node:stream
ERROR #98123 WEBPACK.BUILD-HTML
Generating SSR bundle failed
Reading from "node:util" is not handled by plugins (Unhandled
scheme).
Webpack supports "data:" and "file:" URIs by default.
You may need an additional plugin to handle "node:" URIs.
File: node:util
not finished Building HTML renderer - 6.812s
To Reproduce Steps to reproduce the behavior:
Add fets into gatsbyjs application, try to build it.
Expected behavior
Environment:
- OS:
fets
:- NodeJS: 16.17.1
Additional context
removing fets from imports fixing an isssue.
ardatan commented
It looks like an issue with Gatsby.js while handling node:
which is valid in Node.js environment.
See gatsbyjs/gatsby#38648