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
Impossible to import components. Adding import statement anywhere results in Angular compilation initialization failed. CLI error on the page and Error: Digest method not supported error in the console.
I found an even simpler example, which produces this bug (https://stackblitz.com/edit/stackblitz-starters-gyh541gn). It is a vanilla angular-project (as of 12.12.2024). And I just added a styles-property to the component-decorator. As soon as the rule contains some CSS-rule, the error occurs. Without the rule everything compiles just fine. Therefore I guess it has something to do with the parsing of the style-rules.
Describe the bug
Impossible to import components. Adding import statement anywhere results in
Angular compilation initialization failed.
CLI error on the page andError: Digest method not supported
error in the console.Link to the blitz that caused the error
https://stackblitz.com/edit/stackblitz-starters-397me8uu?file=src%2Froutes.ts
Steps to reproduce
routes.ts
(import { ToggleableComponent } from './toggleable.component'
).Expected behavior
There shouldn't be any error.
Parity with Local
Screenshots
Platform
Additional context
No response
The text was updated successfully, but these errors were encountered: