Error in theme.scss in version 19.1.55 of @syncfusion/ej2 package

Hi,

I updated the @syncfusion/ej2 npm package, and on building the scss I get the following error:

Error: expected "=".
     ╷
1883 │       @if $skin-name == 'fabric' or $skin-name = 'highcontrast' {
     │                                                 ^
     ╵
  node_modules\@syncfusion\ej2-documenteditor\styles\document-editor-container\_theme.scss 1883:49  @import

I modified my local version, but I would appreciate it if you would fix this on your side.

Kind regards,
Wietze Blokstra

4 Replies 1 reply marked as answer

SM Suriya Murugan Syncfusion Team April 12, 2021 05:20 AM UTC

Hi Wietze, 

Syncfusion Greetings! 

We couldn’t reproduce the reported issue. Can you please share your front end and backend details? Also, share the steps to recreate the same issue in our side? that will helpful for us to proceed further and provide you solution at earliest. 

Regards, 
Suriya M. 



WB Wietze Blokstra April 12, 2021 06:20 AM UTC

Hi Suriya,

I would think the error message is pretty self explanatory. In line 1883 of _theme.scss in the directory mentioned $skin-name = 'highcontrast' should be $skin-name == 'highcontrast'. 

This is in version 19.1.55. I get the error when running npm run sass

Regards,
Wietze Blokstra


SM Suriya Murugan Syncfusion Team April 13, 2021 12:56 PM UTC

Hi Wietze, 

We can reproduce the reported issue. We have logged the defect report for this issue. We will fix and include in our EJ2 patch release which scheduled on April 21,2021. 

You can track the status of bug through below feedback link: 


Regards, 
Suriya M. 



SM Suriya Murugan Syncfusion Team April 21, 2021 10:24 AM UTC

Hi Wietze,  

We are glad to announce that our patch release (v19.1.57) is rolled out successfully and In that release, we have added the fix for reported issue. 

Please upgrade to the latest version packages to resolve this issue.                



Please let us know if you have any questions.   

Regards,  
Suriya M.  



Marked as answer
Loader.
Up arrow icon