I have a login provider, which i’ve added to the app module, and several other pages. But when i try to add to to the app component, I get cannot use LoginProvider as a namespace. Has anyone else seen this before, it works on all other pages.
Is the Import correct?
yes, i thought that might be the case so i double checked it. It’s the same provider used on other pages, and the app module is in the same folder as the app component so the path is the same.
I don’t know which IDEA you use and i know this sounds really dump, but restarting the IDE can help sometimes
I’m using VS code, and all suggestions are gratefully received. I’ll give it a try thanks!