Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Support install in windows #4

Merged
merged 16 commits into from
Jun 18, 2024
Merged

feat: Support install in windows #4

merged 16 commits into from
Jun 18, 2024

Conversation

yeshan333
Copy link
Member

No description provided.

@yeshan333
Copy link
Member Author

yeshan333 commented May 18, 2024

windows setup problem:

Error! Failed to load module 'elixir' because it cannot be found. Make sure that the module name is correct and
that its .beam file is in the code path.

Runtime terminating during boot ({undef,[{init,start_it,1,[{file,"init.erl"},{line,1216}]},{init,start_em,1,[{file,"init.erl"},{line,1182}]},{init,do_boot,3,[{file,"init.erl"},{line,871}]}]})

Crash dump is being written to: erl_crash.dump...done

@yeshan333 yeshan333 mentioned this pull request Jun 17, 2024
@yeshan333 yeshan333 linked an issue Jun 17, 2024 that may be closed by this pull request
@mardukbp
Copy link

I was able to reproduce the error renaming the directory C:\Program Files\Elixir\lib\elixir\ebin to C:\Program Files\Elixir\lib\elixir\bin. It seems that erl.exe cannot find this directory.

@yeshan333
Copy link
Member Author

The problem is caused by the implementation of vfox, which solved this problem in version 0.5.3:https://github.com/version-fox/vfox/releases/tag/v0.5.3

fix: link to the sdk installation directory instead of the bin directory in version-fox/vfox@d3f42de

@yeshan333 yeshan333 marked this pull request as ready for review June 18, 2024 13:44
@yeshan333 yeshan333 merged commit ea54191 into main Jun 18, 2024
3 checks passed
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.

Add support for Windows
2 participants