Skip to content

It is impossible to create a Custom Scss #470

@aksenovaa

Description

@aksenovaa

Typo3 v13.
t3sbootstrap - 5.3.30 with t3sb_package
I installed everything according to the instructions from the website (this package has been running for over two years):
https://www.t3sbootstrap.de/dokumentation/installation

In EM
't3sbootstrap' => [ 'animateCss' => '0', 'bootswatch' => 'Cerulean', 'cTypeClass' => '0', 'chapter' => '1', 'color' => '1', 'container' => '1', 'cssCodeEditor' => '0', 'customHeaderClass' => '', 'customScss' => '1', 'customSubtitleColor' => '', 'customTitleColor' => '', 'editScss' => '0', 'extNews' => '1', 'extraStyle' => '0', 'figureClass' => '', 'flexformExtend' => '0', 'flexformMinCol' => '0', 'flexformModify' => '0', 'flexformNoDefault' => '0', 'fontawesomepagetitle' => '1', 'footerInfo' => '1', 'imageClass' => '', 'imgCopyright' => '0', 'imgtag' => '0', 'keepVariables' => '1', 'lazyLoad' => '3', 'linkHoverEffect' => '0', 'navbarmodal' => '0', 'origimage' => '0', 'preview' => '1', 'previewClosedCollapsible' => '0', 'ratio' => '1', 'sectionOrder' => '1', 'sitepackage' => '1', 'spacing' => '0', 't3sbconcatenate' => '0', 't3sbminify' => '0', ],
'customScss' => '1'

Then I cleared the typo3 cache.

I went to the scheduler and created the t3sbootstrap task:customScss

But when completing the task, an error immediately appeared.:
You have to activate SCSS in the EM config!

I double-checked everything again - the settings were made in EM, but the error was repeated...
Went to the t3sbootstrap module in BE, recorded the settings here, dried it up.

I also did TS Setup.

I don't know what worked, but after that, the task:customScss was completed. But there are no
custom-variables.scss and custom.scss did not appear in the packages/t3sb_package/Resources/Public/T3SB-SCSS\ folder .

As a result, the site page opens with an error:
"
ScssPhp\ScssPhp\Exception\CompilerException

/var/www/html/vendor/t3sbs/t3sb-package/Resources/Public/T3SB-SCSS/custom-variables file not found for @import: uploads/tx_t3sbootstrap/bootstrap.scss on line 2, at column 1 Call Stack: #0 import uploads/tx_t3sbootstrap/bootstrap.scss (unknown file) on line 1
"

There is also a disturbing line in the error:
"file not found for @import: uploads/tx_t3sbootstrap/bootstrap.scss on line 2, at column 1"
No uploads folders were created in the doc-root of the site...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions