creativetimofficial/ct-argon-dashboard-pro-laravel

npm run production fails -> 100% - $icon-size-xl - 1

Closed this issue · 2 comments

Prerequisites

Please answer the following questions for yourself before submitting an issue.

  • [NO ] I am running the latest version
  • [ Y] I checked the documentation and found no answer
  • [ Y] I checked to make sure that this issue has not already been filed
  • [ Y] I'm reporting the issue to the correct repository (for multi-repository projects)

Expected Behavior

Compile production assets

Current Behavior

There is an error in the compilation process

Steps to Reproduce

just run
npm run production

Context

npm 6.14.8
node v14.15.0

image
image

Solution

Change

width: calc(100% - $icon-size-xl} - 1);

for

width: calc(100% - #{$icon-size-xl} - 1);

Just put the variables inside #{}

Hi @mgarcia96,

Thank you for reporting this issue and for using Creative Tim products.
We've pushed a fix to this problem.

You can access it from the downloads section in the Creative Tim website.

All the best,
Updivision Team