You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Getting Error [ERR_UNSUPPORTED_ESM_URL_SCHEME] with electron-forge package #4264
I agree to follow the code of conduct that this project uses.
I have searched the issue tracker for a bug that matches the one I want to file, without success.
Forge version
8.0.0-alpha.8
Electron version
42.1.0
Operating system
Windows 10
Last known working Forge version
7.11.1
Expected behavior
No error
Actual behavior
Following error is thrown: Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only URLs with a scheme in: file, data, and node are supported by the default ESM loader. On Windows, absolute paths must be valid file:// URLs. Received protocol 'c:'
Steps to reproduce
Build an electron app electron-forge package --platform win32 --arch x64
Activity
MarshallOfSound commentedon Jul 1, 2026
This is fixed in
alpha.9