79458782

Date: 2025-02-21 22:51:08
Score: 0.5
Natty:
Report link

Found the solution but forgot to post here, go to

C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build

replace 2022 with your respective visual studio tool run

vcvarsall.bat x64

Which sets up an environment for you to do make. WITHIN THE SAME SHELL! then do

mix deps.compile

which compiles your dependancies after which

after successful compile you can go on building the usual way, unless you have trouble and have to delete the build folder, symptom of this is when you run migration but starting the server iex mix -S phx.server the site still complains you have not run your migrations and attempt of it brings an error of running migrations on existing ones. In case of such, delete build and you will need to repeat the steps so to rebuild all the artifacts within environment again, but after which you are free to go on as usual.

I could build a cmd script for this sometime or if someone can edit and provide it well then good too.. happy coding.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: whizboy