I have a very minimal Elixir desktop app called
Which I have compiled and released in a Windows 10 VM using
Now in another Windows 10 machine, I downloaded the repo and I have installed erlang for Windows:
My thought process is that since I created the release with everything installed I should not need to install anything at all in the new machine to run my
releases: [ hello: [ include_executables_for: [:windows], applications: [runtime_tools: :permanent] ] ]
However, I still went ahead and installed erlang with OTP 24 to discard it as a possible mistake.
The problem here is that when I run the bat file created by
mix release in my second VM I get the following error:
.\hello.bat start The system cannot find the path specified. The system cannot find the path specified. The system cannot find the path specified. The system cannot find the path specified.
Which is very confusing. What path is it looking for?
In theory the VM should be all I need. I shouldn’t need Elixir installed. To be honest, since I believe I am creating the release with everything included, I should not even need erlang installed.
What am I doing wrong?