-
Notifications
You must be signed in to change notification settings - Fork 358
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
Error building docker image on Windows 11 #1705
Comments
Could you try deleting node_modules and re-installing them? The error indicates that there is a windows junction somewhere, we should improve that error message. If re-installing node_modules doesn't help, could you post your |
Same problem. Can be because I use "pnpm" and not "npm" ? |
It could be related to pnpm somehow, but could you try listing the content of node_modules with:
and see if LinkType comes out with the value Junction for anything? |
This is the output of the required command
|
The problem is that the tar package of golangs stdlib that we use to create a tarball doesnt support windows junctions, and I assume here that pnpm defaults to creating junctions rather than symbolic links, and that that is the problem here. Could you try to enable developer mode in windows: That will permit the creation of Symbolic Links, the try to remove node_modules again and run |
Hi,
this command goes on error on Windows 11 using encore v.1.45.6
encore build docker --config infra.config.json drizzle_test:0.0.1
The text was updated successfully, but these errors were encountered: