Error when importing scss file after upgrading Wijmo to latest

Posted by: iti on 26 July 2018, 1:15 pm EST

    • Post Options:
    • Link

    Posted 26 July 2018, 1:15 pm EST

    Hi Team,

    After upgrading Wijmo to latest (5.20182.500) I’m getting below error

    ERROR in ./src/style/_modules.scss (./node_modules/raw-loader!./node_modules/postcss-loader/lib??embedded!./node_modules/sass-loader/lib/loader.js??ref–15-3!./src/style/_modules.scss)

    Module build failed:

    &.wj-state-disabled, .wj-state-disabled {

    ^

    Base-level rules cannot contain the parent-selector-referencing character ‘&’.

    I imported new scss as below

    @import '../../node_modules/wijmo/styles/wijmo';
    
  • Posted 27 July 2018, 4:01 am EST

    Hi,

    We are sorry for the inconvenience.

    This is a known issue to us and it has been fixed and it will be included in the next maintenance release.

    In the meantime, you may fix at your end by changing follows in _core.scss file:

    /*  _core.scss line 99 (Current  5.20182.500)  */
                  &.wj-state-disabled, .wj-state-disabled {
     
    /*  _core.scss line 99 (Fix) */
                  .wj-state-disabled {
    

    ~Manish

  • Posted 29 July 2018, 9:48 am EST

    Thanks for the update Manish.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels