igniteui-cli icon indicating copy to clipboard operation
igniteui-cli copied to clipboard

"Injector has already been destroyed" error when ng adding latest RC

Open valadzhov opened this issue 3 years ago • 0 comments

Description

There are errors in the console when you run the tests for a project with ng added igniteui-angular.

Steps to reproduce

  1. Create a new Angular project with ng new
  2. Add the latest IgniteUI for Angular with ng add [email protected]
  3. Add all components with the ng g command (ng g @igniteui/angular-schematics:c grid newGrid )
  4. Run the npm script test inside the project.

Result

There are errors in the console related to the injector already having been destroyed.

Expected result

There shouldn't be any errors when you run the tests.

Attachments

image

valadzhov avatar Feb 28 '22 13:02 valadzhov