I created the sample app from the youtube video for the dropdownlist and using css it compiles cleanly.
When I tried creating a dropdownlist with scss I get an error that it can't find the stylesheet. The error occurs when it tries to execute the @import statement in the scss subfolder.
Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
SassError: Can't find stylesheet to import.
╷
1 │ @import 'ej2-icons/styles/material.scss';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
node_modules/@syncfusion/ej2-base/styles/material.scss 1:9 @import
src/styles.scss 2:9 root stylesheet
This is the styles.scss file
/* You can add global styles to this file, and also import other style files */
@import '../node_modules/@syncfusion/ej2-base/styles/material.scss';
@import '../node_modules/@syncfusion/ej2-buttons/styles/material.scss';
@import '../node_modules/@syncfusion/ej2-dropdowns/styles/material.scss';
@import '../node_modules/@syncfusion/ej2-inputs/styles/material.scss';
@import '../node_modules/@syncfusion/ej2-popups/styles/material.scss';
@import '../node_modules/@syncfusion/ej2-lists/styles/material.scss';
@import '../node_modules/@syncfusion/ej2-angular-dropdowns/styles/material.scss';
This is the content of the node_modules>@syncfusion>ej2-base>styles.material.scss file
@import 'ej2-icons/styles/material.scss';
@import 'material-definition.scss';
@import 'all.scss';
The error occurs when trying to resolve the first line
@import 'ej2-icons/styles/material.scss';