-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Turbo doesn't work in docker windowserver #8878
Comments
Looking up the exit code it looks like there's a DLL missing from the image that I quick checked the required DLLs and this is what I came away with:
|
I have checked dlls included with server core page:
Note that these are DLLs listed for old versions of Windows, as that page was updated in 2017. I will try inquiring with the windows container team about this and get their opinion on it. |
So I did a little bit of research and found out that |
Snippet on the installation of the vc_redist_x64 that worked for me in Please note: Installation doesn't seem to work on Cmd version:
Powershell version:
Hope it helps others, and thank you for this issue, it really helped pinpointing the issue. |
#9308 adds documentation that the Microsoft C Runtime Libraries are required for |
Verify canary release
Link to code that reproduces this issue
https://github.com/vercel/turbo
What package manager are you using / does the bug impact?
npm, Yarn v2/v3/v4 (node_modules linker only)
What operating system are you using?
Windows
Which canary version will you have in your reproduction?
v2.0.10-canary.2
Describe the Bug
I need to create a build for an application that works on multiple platforms, e.g., Linux and Windows. The Linux Docker build works fine, but when I try to create a similar build based on Windows Server, the Turbo CLI doesn't seem to work. It appears to run, but there is no output, and the exit code I get by running
$LastExitCode
is similar to-1073741515
. What seems weird is that, Turbo works when installed on a standalone Windows Server.I've tried executing the
turbo.exe
directly, but the behavior doesn't change, so the execution scripts (turbo.cmd, etc.) are working correctly. Which means that there is something wrong with the CLI itself. The only thing I can think of is that some dependencies might be missing, dependencies that come bundled with Windows or a standalone Windows Server but not with Windows server docker images, but I have tried using different versions servercore and server, and nothing changes.Expected Behavior
The turbo cli should work.
To Reproduce
Try building this image for windows platform:
And the executing the
powershell -Command turbo; $LastExitCode
in exec of the container.Additional context
I have tested this agains multiple version ranging from 1.7.0 to most latest and also canary builds.
The text was updated successfully, but these errors were encountered: