79598873

Date: 2025-04-29 17:17:02
Score: 3.5
Natty:
Report link

I am facing the same issue with v19. I was using v19.2.1 I never experienced this issue. But when I updated my global cli to v19.2.9 I created a new application using ng new I started experiencing this error message on every component that I can only use imports on a component unless it's standalone. I had to explicitly declare standalone:true in order to silent this error. Which does not make sense to me. It seems like an accidental bug from the Angular team

Reasons:
  • Has code block (-0.5):
  • Me too answer (2.5): I am facing the same issue
  • Single line (0.5):
  • Low reputation (1):
Posted by: Arekhandia Harry