Looks like the same problems with the Atum template in PR: #36879
Solution is to change the paths to the vendor and system folders in the scss/template.scss, scss/tools/_tools.scss and scss/offline.scss
The build script needs to be changed to handle the updates paths.
@dgt41 could you take a look?
Labels |
Removed:
?
|
Labels |
Added:
No Code Attached Yet
|
The PR works! But that is only for compiling SCSS in a development environment when the build folder is present. I'm talking about a live site with the build media folder. So, download and install a regular Joomla 4.1 installation. Then try to compile the SCSS files in media/templates/site/cassiopeia with a tool of your choice. then you get:
{
"status": 1,
"file": "E:/wamp64/www/j41development/media/templates/site/cassiopeia/scss/tools/_tools.scss",
"line": 2,
"column": 1,
"message": "File to import not found or unreadable: ../../../../vendor/bootstrap/scss/functions.",
"formatted": "Error: File to import not found or unreadable: ../../../../vendor/bootstrap/scss/functions.\n on line 2 of scss/tools/_tools.scss\n from line 5 of scss/template.scss\n>> @import "../../../../vendor/bootstrap/scss/functions";\r\n ^\n"
}
The paths need to be one level up. From: ../../../../../media/vendor/bootstrap/scss/functions to ../../../../media/vendor/bootstrap/scss/functions. Then compiling works.
The PR works! But that is only for compiling SCSS in a development environment when the build folder is present.
The pr is not merged for 4.1 so 4.1 will be broken.
Thanks @dgrammatiko
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2022-02-16 01:01:08 |
Closed_By | ⇒ | RickR2H |
Duplicate of #36872
there's a pr: #36879