Can't bind to "attribute" && "app-component" isn't a known element

223 views Asked by At

I've a HUGE problem. The entire thing started with this: Fix corrupted HTML file or decompile Angular Component

My PC suddently crashed and from that event it become worse every second. I get weird errors such as "'app-component' is not a known element" or "No pipe found with name 'async'" or even "Can't bind to 'attribute' since it isn't a known property of 'app-component". I get this for many components.

What I did:
I immediately deleted the corrupted file I talked in this other thread and I started to look at EVERY piece of code. EVERY error. But it seems all fine for me. It's fine even for Visual Studio Code, because it didn't trigger any error/problem to me as you can see here: VSC Terminal Screenshot

I really don't know what should I do.

Here you can find the repository:
https://github.com/plungarini/alpha-project

1

There are 1 answers

0
Pietro Lungarini On BEST ANSWER

I fixed the whole thing. There was an error in the dashboard-routing.module.ts

I wasn't loading another module required to be correctly functional. I was loading instead a component.