Skip to content

fix: support Windows launcher import paths - #10

Merged
kevincodex1 merged 1 commit into
Twigpine:mainfrom
Vasanthdev2004:codex/fix-windows-esm-launch
Apr 1, 2026
Merged

kevincodex1 merged 1 commit into
Twigpine:mainfrom
Vasanthdev2004:codex/fix-windows-esm-launch

Conversation

@Vasanthdev2004

Copy link
Copy Markdown
Collaborator

What changed

  • fix the Windows launcher to import dist/cli.mjs via a valid ile:// URL
  • add a focused regression test for the generated import specifier

Root cause

�in/openclaude used �wait import(distPath) with a raw Windows absolute path like C:...\dist\cli.mjs.
Node's ESM loader on Windows requires a ile:// URL for absolute path imports, which caused:
ERR_UNSUPPORTED_ESM_URL_SCHEME

Validation

ode --test bin/import-specifier.test.mjs

Issue

@Vasanthdev2004 Vasanthdev2004 mentioned this pull request Apr 1, 2026
@kevincodex1
kevincodex1 merged commit b16d46d into Twigpine:main Apr 1, 2026
@Vasanthdev2004
Vasanthdev2004 deleted the codex/fix-windows-esm-launch branch April 1, 2026 12:51
euxaristia pushed a commit to euxaristia/openclaude that referenced this pull request Apr 13, 2026
…esm-launch

fix: support Windows launcher import paths
reymaster pushed a commit to reymaster/openclaude that referenced this pull request May 5, 2026
…esm-launch

fix: support Windows launcher import paths
Victoredbr21 added a commit to Victoredbr21/openclaude that referenced this pull request Jun 4, 2026
Adicionar documentação do bug onde /model mantém cache do provider
anterior após mudança via /provider. Falta useEffect monitorando
mudanças no activeProviderProfileId.
thedeveloloper pushed a commit to thedeveloloper/openclaude that referenced this pull request Jun 8, 2026
…esm-launch

fix: support Windows launcher import paths
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

build fail

2 participants