-
Notifications
You must be signed in to change notification settings - Fork 161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Igniteui-Angular pkg - 15.0.2 - sass errors in Samples Browser DV #12439
Comments
guessing you may just need to npm install igniteui-theming? |
Its still occurring and not documented or in the changelog, https://github.com/igniteui/igniteui-angular/blob/master/CHANGELOG.md See attachment |
Have you followed the Update Guide? You have to ensure you have this section in your angular.json file: "build": {
"options": {
"stylePreprocessorOptions": {
"includePaths": ["node_modules"]
}
}
}
|
@simeonoff Thanks! but it doesn't appear that is even mentioned in the upgrade guide Where did you read about this requirement? |
@mddifilippo89 Hi Mike! The info is in our product's update guide: https://www.infragistics.com/products/ignite-ui-angular/angular/components/general/update-guide#from-142x-to-150x |
I have an strange behavior after that change (["node_modules"]) that any change to SCSS files is not applied on project build(Still using an older version of the file). |
@lalo-mx Hmm, haven't seen this. @simeonoff have you experienced anything like this? |
@kdinev I don't think I have. |
@lalo-mx do you mean editing the sass under node_modules? Or in the project src area? |
In the project src area |
@kdinev, you are correct that migration for |
@Lipata OK, let's provide the migration with the next patch. But don't make it for 15.0.0, because for people who have already migrated to 15.0.0, it wouldn't execute. |
https://github.com/IgniteUI/igniteui-angular-examples/tree/vnext/samples/charts/sparkline/grid
ERRORS:
./src/styles.scss - Error: Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
SassError: Can't find stylesheet to import.
╷
7 │ @use 'igniteui-theming/sass/color/functions' as color;
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
node_modules\igniteui-angular\lib\core\styles\themes_core.scss 7:1 @forward
igniteui-angular_index.scss 1:1 @use
src\styles.scss 1:1 root stylesheet
./src/styles.scss?ngGlobalStyle - Error: Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
HookWebpackError: Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
SassError: Can't find stylesheet to import.
╷
7 │ @use 'igniteui-theming/sass/color/functions' as color;
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
node_modules\igniteui-angular\lib\core\styles\themes_core.scss 7:1 @forward
igniteui-angular_index.scss 1:1 @use
src\styles.scss 1:1 root stylesheet
Steps to reproduce
1 Run sparkline/grid sample with (PR) updates
https://github.com/IgniteUI/igniteui-angular-examples/tree/vnext/samples/charts/sparkline/grid
IgniteUI/igniteui-angular-examples#37
Result
See above
Expected result
no errors
The text was updated successfully, but these errors were encountered: