#After upgrading to ng 16 all my templates are generating errors on any angular directives.
28 messages · Page 1 of 1 (latest)
Just in case, can you restart the TypeScript service ?
Then, restart your IDE, I had some similar issues after npm install sometimes with IntelliJ
Right click, on the bottom bar
Then check the TypeScript option
I'm on IntelliJ, but it should be similar
Yes
Or
Sorry :/
Another idea : shouldn't the templateUrl be relative ? I wonder if it shouldn't be : './actions-bar.component.html'
Shouldn't matter, at least not for serve or build. not sure if the IDE has an issue with it
can you try to remove build folder . Angular and rebuild ?
Guess it doesn't since the code was the same before the upgrade
Have you tried invalidating caches and do a new npm install? see: https://intellij-support.jetbrains.com/hc/en-us/community/posts/360010509340/comments/10384188742418
What is your WebStorm version ?
I don't know, yeah you could try
I have some ideas, but I'm afraid to make you waste your time
:o
Is there a way for you to see the version of the Angular plugin you have installed in your IDE?
ok, that seems recent enough, latest version is 231.8770.67 from what I could find. I know that an outdated angular language service in VS Code can cause issues, but since jetbrains have their own implementation I'm not sure if it behaves the same