[Bug]: ERR_UNSUPPORTED_ESM_URL_SCHEME #2893

Closed
opened 2026-02-28 20:31:49 -06:00 by GiteaMirror · 5 comments
Owner

Originally created by @S3rrrjjj on GitHub (Feb 5, 2026).

Originally assigned to: @MikesGlitch on GitHub.

What happened?

v26.2.0
Windows 11
Server does not start

How can we reproduce the issue?

Server does not start after yarn start:server. Updating node.js didn't fix the problem.

Error message:

Checking if there are any migrations to run for direction "up"...
Error during migration process: 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 va
lid file:// URLs. Received protocol 'c:'
    at throwIfUnsupportedURLScheme (node:internal/modules/esm/load:208:11)
    at defaultLoad (node:internal/modules/esm/load:103:3)
    at ModuleLoader.load (node:internal/modules/esm/loader:739:12)
    at ModuleLoader.loadAndTranslate (node:internal/modules/esm/loader:519:43)
    at #createModuleJob (node:internal/modules/esm/loader:543:36)
    at #getJobFromResolveResult (node:internal/modules/esm/loader:312:34)
    at ModuleLoader.getModuleJobForImport (node:internal/modules/esm/loader:280:41)
    at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:582:25) {
  code: 'ERR_UNSUPPORTED_ESM_URL_SCHEME'
}
Error starting app: 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:'
    at throwIfUnsupportedURLScheme (node:internal/modules/esm/load:208:11)
    at defaultLoad (node:internal/modules/esm/load:103:3)
    at ModuleLoader.load (node:internal/modules/esm/loader:739:12)
    at ModuleLoader.loadAndTranslate (node:internal/modules/esm/loader:519:43)
    at #createModuleJob (node:internal/modules/esm/loader:543:36)
    at #getJobFromResolveResult (node:internal/modules/esm/loader:312:34)
    at ModuleLoader.getModuleJobForImport (node:internal/modules/esm/loader:280:41)
    at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:582:25) {
  code: 'ERR_UNSUPPORTED_ESM_URL_SCHEME'
}

Where are you hosting Actual?

Locally via Yarn

What browsers are you seeing the problem on?

No response

Operating System

Windows 11

Originally created by @S3rrrjjj on GitHub (Feb 5, 2026). Originally assigned to: @MikesGlitch on GitHub. ### What happened? v26.2.0 Windows 11 Server does not start ### How can we reproduce the issue? Server does not start after `yarn start:server`. Updating node.js didn't fix the problem. Error message: ``` Checking if there are any migrations to run for direction "up"... Error during migration process: 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 va lid file:// URLs. Received protocol 'c:' at throwIfUnsupportedURLScheme (node:internal/modules/esm/load:208:11) at defaultLoad (node:internal/modules/esm/load:103:3) at ModuleLoader.load (node:internal/modules/esm/loader:739:12) at ModuleLoader.loadAndTranslate (node:internal/modules/esm/loader:519:43) at #createModuleJob (node:internal/modules/esm/loader:543:36) at #getJobFromResolveResult (node:internal/modules/esm/loader:312:34) at ModuleLoader.getModuleJobForImport (node:internal/modules/esm/loader:280:41) at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:582:25) { code: 'ERR_UNSUPPORTED_ESM_URL_SCHEME' } Error starting app: 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:' at throwIfUnsupportedURLScheme (node:internal/modules/esm/load:208:11) at defaultLoad (node:internal/modules/esm/load:103:3) at ModuleLoader.load (node:internal/modules/esm/loader:739:12) at ModuleLoader.loadAndTranslate (node:internal/modules/esm/loader:519:43) at #createModuleJob (node:internal/modules/esm/loader:543:36) at #getJobFromResolveResult (node:internal/modules/esm/loader:312:34) at ModuleLoader.getModuleJobForImport (node:internal/modules/esm/loader:280:41) at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:582:25) { code: 'ERR_UNSUPPORTED_ESM_URL_SCHEME' } ``` ### Where are you hosting Actual? Locally via Yarn ### What browsers are you seeing the problem on? _No response_ ### Operating System Windows 11
GiteaMirror added the bug label 2026-02-28 20:31:49 -06:00
Author
Owner

@S3rrrjjj commented on GitHub (Feb 5, 2026):

Switched to CLI tool and it's working now

@S3rrrjjj commented on GitHub (Feb 5, 2026): Switched to CLI tool and it's working now
Author
Owner

@lyric911 commented on GitHub (Feb 23, 2026):

@S3rrrjjj I am having this same issue. Can you please share more information about how you fixed? I'm not sure what 'Switched to CLI tool and it's working now' means.

@lyric911 commented on GitHub (Feb 23, 2026): @S3rrrjjj I am having this same issue. Can you please share more information about how you fixed? I'm not sure what 'Switched to CLI tool and it's working now' means.
Author
Owner

@S3rrrjjj commented on GitHub (Feb 23, 2026):

Followed this to install the server in a new folder: https://actualbudget.org/docs/install/cli-tool

@S3rrrjjj commented on GitHub (Feb 23, 2026): Followed this to install the server in a new folder: https://actualbudget.org/docs/install/cli-tool
Author
Owner

@MikesGlitch commented on GitHub (Feb 25, 2026):

This is a bug in latest master, thanks for reporting

@MikesGlitch commented on GitHub (Feb 25, 2026): This is a bug in latest master, thanks for reporting
Author
Owner

@MikesGlitch commented on GitHub (Feb 25, 2026):

Tracked it down to https://github.com/actualbudget/actual/pull/6346

@MikesGlitch commented on GitHub (Feb 25, 2026): Tracked it down to https://github.com/actualbudget/actual/pull/6346
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#2893