CommonModule Error

Does someone know how to fix this?


pictures are a bad idea. Some of the text isn’t readable, maybe the part that got the hint.

By the way it looks that an import is missing. The text points to @angular src folder, but this maybe shouldn’t be. Maybe you have something installed or imported, but have not imported all necessary imports for that.

Maybe you can explain what you have done before.

Best regards, anna-liebt

Are you using visual studio code or any other editor that supports autoimport? Seems like the import is wrong.

Maybe you have something like
import { Location } from '@angular/common/src/common_module';
But it should be
import { Location } from '@angular/common';