dnafactory / magento2-bootstrap

Bootstrap source integration for Magento 2
BSD 3-Clause "New" or "Revised" License
4 stars 1 forks source link

Error after installation #11

Open dennismetz opened 2 years ago

dennismetz commented 2 years ago

Magento 2.4.4 PHP 7.4.30

Compilation from source .../vendor/dnafactory/module-bootstrap/view/frontend/web/css/source/scss/themes/_magento.scss failed Exception: type missing in switch/case getVariableValue for Url in .../vendor/wikimedia/less.php/lib/Less/Parser.php:336

ciroarcadio commented 2 years ago

Thank you for reporting. Unfortunately, this is related to an issue in wikimedia/less.php module. Here's the fix you need, but you have to switch to a newer version of the module.

dennismetz commented 2 years ago

Hi, thanks for the quick reply - I just tried to use the "dev-main" version via composer, but Magento 2.4.4 definitely needs version 3.1. Do you have another idea? How do you guys use this?

dennismetz commented 2 years ago

Hi, I'm still stuck here unfortunately.... Do you have another idea? How do you guys use this?

ciroarcadio commented 2 years ago

Hi, you have at least 3 options:

  1. aliasing dev-main to 3.1 in composer
  2. use a private fork of wikimedia/less.php
  3. apply a patch by composer (you can use cweagans/composer-patches)

Sorry about the late response, but this repo is practically abandoned due to deprecation.