function build error: Error: Module build failed: UnhandledSchemeError
icefee opened this issue · comments
Preliminary Checks
- This issue is not a duplicate. Before opening a new issue, please search existing issues: https://github.com/gatsbyjs/gatsby/issues
- This issue is not a question, feature request, RFC, or anything other than a bug report directly related to Gatsby. Please post those things in GitHub Discussions: https://github.com/gatsbyjs/gatsby/discussions
Description
Error: Module build failed: UnhandledSchemeError: Reading from "F:Reactgatsby-issue-demo
ode_modules@gatsbyjs each-routerdistindex.js" is not handled by plugins (Unhandled scheme).
Webpack supports "data:" and "file:" URIs by default.
You may need an additional plugin to handle "f:" URIs.
Reproduction Link
https://github.com/icefee/gatsby-issue-demo
Steps to Reproduce
update gatsby from 5.13.1 to 5.13.2
Expected Result
build success
Actual Result
Error: Module build failed: UnhandledSchemeError
Environment
System:
OS: Windows 10 10.0.19045
CPU: (4) x64 Intel(R) Core(TM) i5-7400 CPU @ 3.00GHz
Binaries:
Node: 20.10.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.19 - C:\Program Files\nodejs\yarn.CMD
npm: 8.1.4 - C:\Program Files\nodejs\npm.CMD
Browsers:
Chrome: 121.0.6167.185
Edge: Chromium (121.0.2277.128)
npmPackages:
gatsby: 5.13.1 => 5.13.2
gatsby-adapter-netlify: ^1.1.1 => 1.1.3
gatsby-plugin-alias-imports: ^1.0.5 => 1.0.5
gatsby-plugin-manifest: ^5.13.1 => 5.13.1
gatsby-plugin-no-sourcemaps: ^5.13.0 => 5.13.0
gatsby-plugin-offline: ^6.13.1 => 6.13.1
Config Flags
No response
Confirmed there is an issue introduced in 5.13.2 and still exists in 5.13.3.
The path is clearly malformed:
F:Reactgatsby-issue-demo
ode_modules@gatsbyjs each-routerdistindex.js
A similiar issue was fixed in #38489
5.13.4 fixed this.