artkonekt / appshell

AppShell is an Laravel Application boilerplate with UI, ACL, Users & Customers
https://konekt.dev/appshell
MIT License
80 stars 10 forks source link

Error while _buttons.sass building #25

Closed unrefan closed 3 years ago

unrefan commented 3 years ago

Hi! Thanks for your work

There is issue in _buttons.sass. Can you check it please? Anyway thanks

vanilo v2.1 laravel framework v8 webpack-mix v6

ERROR in ./vendor/konekt/appshell/src/resources/assets/sass/appshell.sass
Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
ModuleBuildError: Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
SassError: Only 4 arguments allowed, but 5 were passed.
    ┌──> vendor/konekt/appshell/src/resources/assets/sass/appshell/_buttons.sass
2   │     +button-size(.15rem, .25rem, $font-size-xs, 1.1em, .1rem)
    │     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ invocation
    ╵
    ┌──> node_modules/bootstrap/scss/mixins/_buttons.scss
127 │ @mixin button-size($padding-y, $padding-x, $font-size, $border-radius) {
    │        ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ declaration
    ╵
  vendor/konekt/appshell/src/resources/assets/sass/appshell/_buttons.sass 2:5  button-size()
  vendor/konekt/appshell/src/resources/assets/sass/appshell/_buttons.sass 2:5  @import
  vendor/konekt/appshell/src/resources/assets/sass/appshell.sass 13:9          root stylesheet
fulopattila122 commented 3 years ago

Are you maybe using Bootstrap 5?

unrefan commented 3 years ago

Are you maybe using Bootstrap 5?

Yep. I have tried to using v4 instead, seems works Thanks a lot