You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello everyone, just a few info before digging in the issue:
OS: Windows 11 (tried with VM on W10 too)
Docker: installed docker desktop with elevated service, working with composer and other plugins, no issue with anything docker-related (latest version)
Encore: version 1.45.2, latest at the time of writing
Project: hello world template (Typescript), no customization
The issue resides in the encore build docker something:tag run via the windows terminal (cmd or powershell makes no difference).
The following picture shows the output of running the above command.
Without changing anything the same issue does not exists running the same command from a debian wsl (docker proxied to the host system), the following pic shows the correct result.
Some extra info:
The node:slim image gets downloaded as it's present in the docker images
Running the command as encore build docker something:third-test --verbose 5 --trace ./trace.log results in the parsing error of the arguments, so no generation takes place and traces cannot be generated (placing args before the image_tag or the commands results in the same error (the shell used makes no difference in this case)
Running the command as encore build docker something:third-test -v --trace trace.log in the debian WSL does not produce any trace.log file
The text was updated successfully, but these errors were encountered:
By default on windows it is not permitted to create symlinks, so we created junctions instead (unless you activate developer mode which allows symlinks), and junctions doesnt work together archive/tar go package from the stdlib that we use.
We recently (yesterday I think) stopped using symlinks/junctions for the encore.dev package, so if you update to the latest version of encore by running encore version update, this error should hopefully go away.
You might need to delete the encore.dev folder in node_modules (or just delete the whole node_modules folder), and run npm install.
Hello everyone, just a few info before digging in the issue:
The issue resides in the
encore build docker something:tag
run via the windows terminal (cmd or powershell makes no difference).The following picture shows the output of running the above command.
Without changing anything the same issue does not exists running the same command from a debian wsl (docker proxied to the host system), the following pic shows the correct result.
Some extra info:
node:slim
image gets downloaded as it's present in the docker imagesencore build docker something:third-test --verbose 5 --trace ./trace.log
results in the parsing error of the arguments, so no generation takes place and traces cannot be generated (placing args before the image_tag or the commands results in the same error (the shell used makes no difference in this case)encore build docker something:third-test -v --trace trace.log
in the debian WSL does not produce any trace.log fileThe text was updated successfully, but these errors were encountered: