Jahred Love

Results 58 comments of Jahred Love

Creating a release for Windows is quite a nightmare. Having similar issues. I was getting the above, but now it just hangs completely.

Running in console I see: Directory: C:\Users\l_m_s\Documents\APP\_build\prod\rel Mode LastWriteTime Length Name ---- ------------- ------ ---- d----- 07/01/2019 13:16 var Set-Content : A parameter cannot be found that matches parameter name...

The problem is, if I use branch `master`, the release hangs completely, with no error message.

Actually, I do eventually get an error Directory: C:\Users\l_m_s\Documents\app\_build\prod\rel Mode LastWriteTime Length Name ---- ------------- ------ ---- d----- 07/01/2019 13:28 var Directory: C:\Users\l_m_s\Documents\app\_build\prod\rel\var Mode LastWriteTime Length Name ---- ------------- ------...

Okay, so, the reason it hangs is because of this function in `libexec\win\erts.ps1` function WhereIs-Erts-Bin() { if (($Env:ERTS_VSN -eq $null) -or ($Env:ERTS_VSN -eq "")) { get-command erl | select-object -ExpandProperty...

No, it's not that. I figured it out. Somewhere, `%RELEASE_ROOT_DIR%` is being set AFTER it's set in the batch file. It's correct in the batch file, but when used in...

Okay, so, it's being re-set in several places, including the release apps own `ps1` file :) Not so clean.

So, I've had to revisit this to see if I can fix it. I've set a secondary env var in the batch file (saves rewriting everything) and using that same...

@bitwalker I can now run the app in console mode, but if I run with start, I get `unrecognized option "ERTS_LIB_DIR"` I have PowerShell Core 6 installed and running on...

Additionally, when deployed to a Windows server (it works fine on my Windows 10 with the above change), there are two lines that decimate sys.config and vm.args. Essentially ``` powershell...