Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSS error when building assets #3206

Closed
ajakov opened this issue Oct 25, 2022 · 3 comments
Closed

CSS error when building assets #3206

ajakov opened this issue Oct 25, 2022 · 3 comments

Comments

@ajakov
Copy link
Contributor

ajakov commented Oct 25, 2022

After following the installation instructions found on this link: https://kunstmaanbundlescms.readthedocs.io/en/latest/installation/#installation-with-kunstmaancms-skeleton

I get this error when running npm run build

'cssOptimized' errored after 207 ms
[16:57:01] Error: Sass Error:
node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_variables.scss
Error: Invalid CSS after "...     floor(math": expected expression (e.g. 1px, bold), was ".div($grid-gutter-w"
        on line 369 of node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_variables.scss
        from line 10 of assets/ui/scss/config/vendors/_bootstrap-imports.scss
        from line 22 of assets/ui/scss/config/_config.scss
        from line 12 of assets/ui/scss/style.scss
>> vbar-padding-horizontal:        floor(math.div($grid-gutter-width, 2)) !defa
...
@acrobat
Copy link
Member

acrobat commented Nov 3, 2022

Hi @ajakov, which version of node do you use? And is this an existing project or is it a new setup with 6.1? In the second case the installation script should produce a FE setup with node 16 in the .nvmrc and this installs correctly for me (nvm use && npm install && npm run build)

@FVKVN
Copy link
Contributor

FVKVN commented Feb 13, 2023

@acrobat
Copy link
Member

acrobat commented Feb 13, 2023

@ajakov the dependency version is updated in #3253 for newly generated projects, to fix it in existing projects you can copy the changes from that PR.

@acrobat acrobat closed this as completed Feb 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants