I am in the process of trying to upgrade from Angular version 15 to 16. After updating the necessary packages I am getting the error:HookWebpackError: Module build failed (from ./node_modules/sass-loader/dist/cjs.js):Undefined variable. ╷117 │ @error 'The theme for #{map.get($map, 'name')} does not contain #{$key}'; │ ^^^^ ╵ node_modules\igniteui-theming\sass\themes\_functions.scss 117:41 var-get() node_modules\@infragistics\igniteui-angular\lib\core\styles\components\bottom-nav\_bottom-nav-theme.scss 125:16 bottom-nav() node_modules\@infragistics\igniteui-angular\lib\core\styles\themes\generators\_base.scss 155:9 theme-internal() node_modules\@infragistics\igniteui-angular\lib\core\styles\themes\generators\_base.scss 42:5 theme() node_modules\@infragistics\igniteui-angular\lib\core\styles\themes\generators\_base.scss 667:5 light-theme() src\styles\rhi-light-theme.scss 6:3 @import src\styles.scss 23:9 root stylesheetMy styles.scss is set as below://rhi styles
Hello Lewis,
Thank you for posting to Infragistics Community!
As per our Versioning Wiki, it’s important to ensure that the major version of the Ignite UI for Angular library matches the major version of Angular you’re using. This alignment is crucial for the proper functionality of our components, as they often depend on Angular's API.
Therefore, I recommend upgrading the 'igniteui-angular' packages in your application to match the Angular version you're currently using.
Regarding the theming issues you're experiencing, I haven't been able to replicate the error with a similar setup on my end. I’ve attached a sample implementation for your review. Please try reproducing the issue in this sample and share it back with me for further investigation. This will help me better understand the problem and devise an appropriate solution.
In the meantime, upgrading to the matching major versions, as mentioned above, is a crucial first step, as the version mismatch may be the underlying cause of the issue.
Best regards, Arkan Ahmedov Infragistics
themeIgniteUI16.zip
looking at it, I can't spot what the issue is. These are our installed packages: