Skip to content

Getting Error [ERR_UNSUPPORTED_ESM_URL_SCHEME] with electron-forge package #4264

@t57ser

Description

@t57ser

Pre-flight checklist

  • I have read the contribution documentation for this project.
  • 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

Additional information

Possibly related: #4214

Metadata

Metadata

Assignees

Labels

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions