gatsbyjs / gatsby

The best React-based framework with performance, scalability and security built in.

Home Page:https://www.gatsbyjs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

function build error: Error: Module build failed: UnhandledSchemeError

icefee opened this issue · comments

commented

Preliminary Checks

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

commented

5.13.4 fixed this.