Back to Issue home

authentication issue

#auth-issue

Sorted by views, then solution_desc, solution, and root_cause length (desc).

2578 issues

[Bug]: Interactive onboard fails on Windows with ERR_UNSUPPORTED_ESM_URL_SCHEME after model selection

On Windows, running OpenClaw onboarding in interactive mode crashes with: 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:' Environment: OS: Windows OpenClaw: 2026.4.5 (3e72c03) Node: v24.14.0 Install location: AppData/Roaming/npm/node_modules/openclaw Config path: [openclaw.json](vscode-file://vscode-app/c:/Program%20Files/Microsoft%20VS%20Code/e7fb5e96c0/resources/app/out/vs/code/electron-browser/workbench/workbench.html) **What I already verified:** This is not fixed by changing normal Windows file paths inside [openclaw.json](vscode-file://vscode-app/c:/Program%20Files/Microsoft%20VS%20Code/e7fb5e96c0/resources/app/out/vs/code/electron-browser/workbench/workbench.html) Non-interactive onboarding works on the same machine: openclaw onboard --non-interactive --accept-risk --mode local --flow quickstart --auth-choice skip --skip-channels --skip-skills --skip-search --skip-health --skip-ui So this appears specific to the interactive path (model/provider/plugin flow), not general config write/read Relevant logs: The same error is recorded in [openclaw-2026-04-06.log](vscode-file://vscode-app/c:/Program%20Files/Microsoft%20VS%20Code/e7fb5e96c0/resources/app/out/vs/code/electron-browser/workbench/workbench.html) Repeated entries show: Error [ERR_UNSUPPORTED_ESM_URL_SCHEME] ... Received protocol 'c:' Possible root cause: A dynamic import in the interactive onboarding/provider model flow appears to pass a raw Windows absolute path instead of converting to a file:// URL (for example via pathToFileURL). Impact: Windows users can be blocked from interactive onboarding and must use non-interactive workaround. [openclaw-2026-04-06.log](https://github.com/user-attachments/files/26505757/openclaw-2026-04-06.log) [openclaw-2026-04-04.log](https://github.com/user-attachments/files/26505769/openclaw-2026-04-04.log)