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

Build fails to compile #24

Open
krebbi opened this issue Nov 23, 2021 · 1 comment
Open

Build fails to compile #24

krebbi opened this issue Nov 23, 2021 · 1 comment

Comments

@krebbi
Copy link

krebbi commented Nov 23, 2021

Version

1.0.1

Reproduction link

http://notavailable.com

Operating System

linux

Device

all

Browser & Version

n/a

Steps to reproduce

npm install soft-ui-dashboard (into my existing project)
npm run dev

What is expected?

Build success

What is actually happening?

ERROR Failed to compile with 2 errors 11:42:14 AM

error in ./resources/sass/app.scss

Module build failed (from ./node_modules/css-loader/index.js):
ModuleBuildError: Module build failed (from ./node_modules/sass-loader/dist/cjs.js):

&.bg-gradient-faded-#{$prop}-vertical{
^
Top-level selectors may not contain the parent selector "&".

15 │ &.bg-gradient-faded-#{$prop}-vertical{
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

node_modules/soft-ui-dashboard/assets/scss/soft-ui-dashboard/_gradients.scss 15:3 @import
node_modules/soft-ui-dashboard/assets/scss/soft-ui-dashboard/theme.scss 45:9 @import
node_modules/soft-ui-dashboard/assets/scss/soft-ui-dashboard.scss 27:9 @import


Solution

Additional comments

@rarestoma
Copy link
Contributor

Hi @krebbi,

Thank you for working with our products and for opening the PR.

We will merge it in our next update.

Thank you,
Rares

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

2 participants