You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
app builds and serves without error but then you get runtime error Can't bind to 'foo' since it isn't a known property of 'code' (used in the 'App' component template).
This should happen already during build time.
Please provide the environment you discovered this bug in (run ng version)
The text was updated successfully, but these errors were encountered:
GeorgeKnap
changed the title
Missing import does not break in compile time
Missing import does not break in compile time but crash in runtime
Oct 12, 2023
Which @angular/* package(s) are the source of the bug?
core
Is this a regression?
Yes
Description
When you forget to import standalone directive into standalone component your app breaks in runtime. This should be handled by compiler.
Please provide a link to a minimal reproduction of the bug
https://stackblitz.com/edit/stackblitz-starters-v3xxjr?file=src%2Ffoo.directive.ts
Please provide the exception or error you saw
app builds and serves without error but then you get runtime error
Can't bind to 'foo' since it isn't a known property of 'code' (used in the 'App' component template).
This should happen already during build time.
Please provide the environment you discovered this bug in (run
ng version
)Anything else?
No response
The text was updated successfully, but these errors were encountered: