soft-ui-dashboard icon indicating copy to clipboard operation
soft-ui-dashboard copied to clipboard

Build fails to compile

Open krebbi opened this issue 3 years ago • 1 comments

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

krebbi avatar Nov 23 '21 10:11 krebbi

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

rarestoma avatar Nov 24 '21 08:11 rarestoma