Skip to content

Conversation

@doorgan
Copy link
Collaborator

@doorgan doorgan commented Jan 14, 2026

Fixes #266

When fixing this I also found these issues:

  • Running expert after just release failed to start the engine because it tried to load bootfiles from the plain release. The fix is to remove the release directory from the windows PATH similarly to how we reset the PATH for unix, and to remove the ERLEXEC_DIR env var
  • When running a mise managed elixir I was able to reproduce the issue reported in Failed to start on windows with zed #266, the fix here is to route it through cmd.exe. Apparently, using :spawn_executable directly doesn't work with batch scripts on windows because they're not proper executables
  • Once I got it to work, I got the error starting node: {{:shutdown, {:failed_to_start_child, XPForge.EPMD, {:EXIT, {:undef, [{XPForge.EPMD, ... error. This was caused by paths using inconsistent separators \\ vs /, causing the namespacing code to not find any .beam file, thus not namespacing anything. Normalizing the paths fixes that. I'm not sure why this issue in particular manifests when using mise, I wasn't able to reproduce it with my global scoop installed elixir.

@doorgan doorgan force-pushed the doorgan/windows-issues branch from 7fe0927 to 7ad4f2e Compare January 14, 2026 18:13
@doorgan doorgan merged commit 3cc343f into main Jan 14, 2026
37 checks passed
@doorgan doorgan deleted the doorgan/windows-issues branch January 14, 2026 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Failed to start on windows with zed

3 participants