Open AudriusButkevicius opened 7 months ago
We do not support building from source on Windows, editing the issue to feature
Sure, however I'm not sure the issues I've hit are windows specific.
Perhaps I'm just bad at looking but I couldn't find a build guide, what versions of toolchains I need etc.
Npx hanging on a prompt, needing some sql database is not windows specific.
The only unsupported thing as it stands is using /bin/sh which I'm arguing doesn't need to exist in the first place and can be done in rust itself.
The Backend is now compilable under windows however, the worker does not run properly on Windows. I'm not sure if I should open another Issue or comment here. If I'm in the wrong, feel free to delete this and I will create a new issue.
Most importantly Powershell Scripts don't work. I have set the environment Variable "POWERSHELL_PATH" (which is not described in the Readme) to the correct path. I have tried the default Powershell.exe and the pwsh.exe (PS7):
Powershell.exe:
ExecutionErr: ExitCode: -65536, last log lines:
Interner Windows PowerShell-Fehler. Fehler 8009001d beim Laden der verwalteten Windows PowerShell.
searches for but not found: HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\powershell.exe
pwsh.exe (PS7): (needed to manually create c:\tmp\windmill\cache\powershell\ or it would say "path not found" - there seems to be no TMP env variable)
Set-Alias: The term 'Set-Alias' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
... thousands of these...
Set-Alias: The term 'Set-Alias' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
Write-Output: C:\tmp\windmill\wk-windows-pc-3tst4\018dd0e1-8483-827c-2089-4814e19bba05\main.ps1:12
Line |
12 | Write-Output "Hello $Msg"
| ~~~~~~~~~~~~
| The term 'Write-Output' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
Go Scripts end in:
ExecutionErr: error during execution of the script:
Lockfile generation failed: ExitStatus(2)
Python Scripts end in:
ExecutionErr: error during execution of the script:
pip compile failed: IO error: program not found
After adding pip-compile.exe manually it errors at:
ExecutionErr: error during execution of the script:
IO error: Das System kann den angegebenen Pfad nicht finden. (os error 3)
resolving dependencies...
content of requirements:
wmill
found cached resolution: py-4174e7f6203eebdf2788d6ff419f4b84b53ac5480f630daf7d5f04c291098084
--- PIP INSTALL ---
anyio==4.3.0 is being installed for the first time.
It will be cached for all ulterior uses.
I know windows is not (yet) officially supported but I hope someone else has an Idea or had some success with a windows worker
Describe the bug
I was trying to build this on Windows, and there are a few steps that fail.
At this point I'm not longer sure what I'm supposed to do, as it's not clear what it's trying to connect to, how or why.
To reproduce
Expected behavior
Screenshots
No response
Browser information
No response
Application version
No response
Additional Context
No response