Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
40
Ignite Angular Trial & Samples error entryComponents[]
posted

Just downloaded the Ignite trial and extracted the samples. Not any sample is working on 2 machines, one installed from scatch with the latest Angular & Node versions.The error is always the same, please find below. Any help would be highly appreciated.

./src/styles.scss - Error: Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
SassError: Can't find stylesheet to import.
  ╷
1 │ @use 'igniteui-theming/sass/color/functions' as *;
  │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵
  node_modules\igniteui-angular\lib\core\styles\base\_mixins.scss 1:1  @forward
  node_modules\igniteui-angular\lib\core\styles\base\_index.scss 2:1   @use
  node_modules\igniteui-angular\lib\core\styles\themes\_core.scss 6: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.
  ╷
1 │ @use 'igniteui-theming/sass/color/functions' as *;
  │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵
  node_modules\igniteui-angular\lib\core\styles\base\_mixins.scss 1:1  @forward
  node_modules\igniteui-angular\lib\core\styles\base\_index.scss 2:1   @use
  node_modules\igniteui-angular\lib\core\styles\themes\_core.scss 6:1  @forward
  igniteui-angular\_index.scss 1:1                                     @use
  src\styles.scss 1:1                                                  root stylesheet

Error: src/app/app.module.ts:26:3 - error TS2345: Argument of type '{ bootstrap: (typeof AppComponent)[]; declarations: (typeof AppComponent)[]; imports: (typeof CommonModule | typeof BrowserModule)[]; providers: undefined[]; entryComponents: undefined[]; schemas: undefined[]; }' is not assignable to parameter of type 'NgModule'.
  Object literal may only specify known properties, and 'entryComponents' does not exist in type 'NgModule'.

26   entryComponents: [],
     ~~~~~~~~~~~~~~~~~~~


× Failed to compile.

Parents
No Data
Reply
  • 0
    Offline posted

    In the Ignite Angular Trial & Samples, encountering errors related to entryComponents can be frustrating. These errors often arise due to uverse packages prices discrepancies in component declarations and module configurations. To resolve them efficiently, cross-check the entryComponents array in your NgModule with the components used in your application, ensuring all components are properly declared and referenced. This meticulous attention to detail can streamline your development process significantly.

Children
No Data