spinners-angular icon indicating copy to clipboard operation
spinners-angular copied to clipboard

Error: "Component imports must be standalone components, directives, pipes, or must be NgModules."

Open sebastianhaberey opened this issue 2 years ago • 0 comments

Hi! I am trying to use the spinners in an Angular 16 project, but I'm getting:

Error: [...]/app.component.ts:22:33 - error NG2012: Component imports must be standalone components, directives, pipes, or must be NgModules.

22   imports: [RouterOutlet, NgIf, SpinnerCircularModule],
                                   ~~~~~~~~~~~~~~~~~~~~~

Am I doing this wrong or does the project simply not work with recent Angular versions?

sebastianhaberey avatar Jul 15 '23 17:07 sebastianhaberey