SymfonyCasts / sass-bundle

Delightful Sass Support for Symfony + AssetMapper
https://symfony.com/bundles/SassBundle/current/index.html
MIT License
37 stars 18 forks source link

Unable to run sass:build / ProcessSignaledException #44

Open BrunoJunior opened 11 months ago

BrunoJunior commented 11 months ago

Symfony version : 7.0 PHP version : 8.2 OS : Alpine 3.18 (in a Docker container)

When I try to build (or watch) sass files, I get an error.

php bin/console sass:build --watch -v
 ! [NOTE] Executing Sass (pass -v to see more details).                                                                 

  Command:
    '/var/www/html/var/dart-sass/sass' '/var/www/html/assets/styles/app.scss:/var/www/html/var/sass/app.output.css' '--watch' '--embed-source-map'

In Process.php line 429:

  [Symfony\Component\Process\Exception\ProcessSignaledException]  
  The process has been signaled with signal "11".                 

Exception trace:
  at /var/www/html/vendor/symfony/process/Process.php:429
 Symfony\Component\Process\Process->wait() at /var/www/html/vendor/symfonycasts/sass-bundle/src/Command/SassBuildCommand.php:46
 Symfonycasts\SassBundle\Command\SassBuildCommand->execute() at /var/www/html/vendor/symfony/console/Command/Command.php:279
 Symfony\Component\Console\Command\Command->run() at /var/www/html/vendor/symfony/console/Application.php:1049
 Symfony\Component\Console\Application->doRunCommand() at /var/www/html/vendor/symfony/framework-bundle/Console/Application.php:125
 Symfony\Bundle\FrameworkBundle\Console\Application->doRunCommand() at /var/www/html/vendor/symfony/console/Application.php:318
 Symfony\Component\Console\Application->doRun() at /var/www/html/vendor/symfony/framework-bundle/Console/Application.php:79
 Symfony\Bundle\FrameworkBundle\Console\Application->doRun() at /var/www/html/vendor/symfony/console/Application.php:169
 Symfony\Component\Console\Application->run() at /var/www/html/vendor/symfony/runtime/Runner/Symfony/ConsoleApplicationRunner.php:49
 Symfony\Component\Runtime\Runner\Symfony\ConsoleApplicationRunner->run() at /var/www/html/vendor/autoload_runtime.php:29
 require_once() at /var/www/html/bin/console:11

sass:build [-w|--watch]

Do you have any idea?

bocharsky-bw commented 11 months ago

Hey, seems related to this known issue with Alpine: #31

Please, track the issue there