Drupal 9.26 error > @php -r 'require_once
Running composer update -W from drupal 9.2.5 with civicrm 5.41 with php 7.4.28 will create this error
Same for fresh install :-(
> @php -r 'require_once '\''/var/www/vhosts/xxx/vendor/autoload.php'\''; Civi\CompilePlugin\TaskTransfer::import(); \CCL::copy('\''../../bower_components/select2/select2-bootstrap.css'\'', '\''extern/select2/select2-bootstrap.scss'\'');'
> @php -r 'require_once '\''/var/www/vhosts/xxx/vendor/autoload.php'\''; Civi\CompilePlugin\TaskTransfer::import(); \CCL\Tasks::scss($GLOBALS[\Civi\CompilePlugin\TaskTransfer::GLOBAL_VAR]);'
PHP Fatal error: Uncaught ScssPhp\ScssPhp\Exception\SassScriptException: $amount: Expected 5% to be within 0% and 1% in /var/www/vhosts/xxx/vendor/scssphp/scssphp/src/Exception/SassScriptException.php:30
Stack trace:
#0 /var/www/vhosts/xxx/vendor/scssphp/scssphp/src/Node/Number.php(265): ScssPhp\ScssPhp\Exception\SassScriptException::forArgument()
#1 /var/www/vhosts/xxx/vendor/scssphp/scssphp/src/Compiler.php(8450): ScssPhp\ScssPhp\Node\Number->valueInRange()
#2 /var/www/vhosts/xxx/vendor/scssphp/scssphp/src/Compiler.php(8459): ScssPhp\ScssPhp\Compiler->libOpacify()
#3 /var/www/vhosts/xxx/vendor/scssphp/scssphp/src/Compiler.php(6193): ScssPhp\ScssPhp\Compiler->libFadeIn()
#4 /var/www/vhosts/xxx/vendor/scssphp/scssphp/src/Compiler.php(3662): ScssPhp\ScssPhp\Compiler->callNativeFunction()
#5 /var/www/vhosts/asset-trade.net/dev.asset-trade. in /var/www/vhosts/xxx/vendor/scssphp/scssphp/src/Compiler.php on line 553
Script @php -r 'require_once '\''/var/www/vhosts/xxx/vendor/autoload.php'\''; Civi\CompilePlugin\TaskTransfer::import(); \CCL\Tasks::scss($GLOBALS[\Civi\CompilePlugin\TaskTransfer::GLOBAL_VAR]);' handling the shell-runner event returned with error code 255
Subcommand @composer compile returned with error code 255
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
[RuntimeException]
Subcommand @composer compile returned with error code 255