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
After upgrade of Angular from 18 to 19, Storybook throws errors, because styles have value of [undefined] in component decorator, when compiling the component in storybook.
The app itself works normally, so there must be something wrong with Storybook library or config.
styles are undefined:
what storybook shows, because Angular compiler calls styles.trim()
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Summary
After upgrade of Angular from 18 to 19, Storybook throws errors, because
styles
have value of[undefined]
in component decorator, when compiling the component in storybook.The app itself works normally, so there must be something wrong with Storybook library or config.
styles are undefined:
what storybook shows, because Angular compiler calls
styles.trim()
config:
is it a bug in Storybook or something is wrong in the config?
Additional information
No response
Create a reproduction
No response
Beta Was this translation helpful? Give feedback.
All reactions