Skip to content
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

dart executable not found, but it's definitely there #27

Closed
viu-x opened this issue Oct 30, 2023 · 4 comments
Closed

dart executable not found, but it's definitely there #27

viu-x opened this issue Oct 30, 2023 · 4 comments

Comments

@viu-x
Copy link

viu-x commented Oct 30, 2023

I tried to deploy my local project to my hoster and the sass:build command is failing.

Bildschirmfoto 2023-10-30 um 15 15 02

I think I'm missing something very obvious but cannot see it. As the screenshot shows it errors that the file /html/releases/19/var/dart-sass/src/dart is not found. But that file is definitely there. I even tried with different rights (755, 777, 700) but always with the same outcome.

On my local DDEV project that command runs fine inside the container.

What am I not seeing?

@WebMamba
Copy link
Contributor

Are you running the sass:build command inside or outside your container? If the binary is inside your container you should run docker composer php bin/console sass:build.
The issue can be also if you use alpine the sass binary is not compatible

@viu-x
Copy link
Author

viu-x commented Nov 16, 2023

Sorry, forgot to close this issue. Figured it out with my hoster. Initially this command ran during deployment directly on their machine, where some lib wasn't present. I then ran it inside the pipeline and copied the resulting files to the host server.

So consider it closed.

@viu-x viu-x closed this as completed Nov 16, 2023
@WebMamba
Copy link
Contributor

Do you use alpine js? Because you can may help on this: #31

@viu-x
Copy link
Author

viu-x commented Nov 16, 2023

Do you use alpine js? Because you can may help on this: #31

Nope, my pipeline runs on ubuntu-latest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants