-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: the BrowserModule
have already been loaded. If you need access to common directives such as NgIf and NgFor, import the CommonModule
instead.
#20855
Comments
Hey @Tallyb, Could you try the latest beta once again? (v7.0.0-beta.38) In v7.0.0-beta.33 I have fixed an issue related to |
same with 38 |
I will provide a hotfix where Background: We changed the way how components are mounted to the DOM. We use a Standalone component, which is mounted via bootstrapApplication API to the DOM. Note that the BrowserModule providers are automatically included when starting an application with bootstrapApplication(). |
We use a wrapper component to the components loaded which is also a standalone component. Could that be the issue? (although it does not really make sense)
|
@Tallyb Which Angular version do you have in place? |
@Tallyb Could you provide me with the chromatic build? You can also ping me on Discord (vatcoop#9122) if you want |
@valentinpalkovic - sorry, cannot find you on discord. Can you try and ping me (Tally#5648) |
Son of a gun!! I just released https://github.com/storybookjs/storybook/releases/tag/v7.0.0-beta.41 containing PR #20868 that references this issue. Upgrade today to the
|
hey, this is not fixed, when trying 41 i have this error now : |
@ghaiat Please open a new issue; it does not seem related to the original one. |
@valentinpalkovic - #20940 |
i have the probleme also i'm workin in angular 18 and it says this , and when i check everything is good NG05100: Providers from the |
@AymaneK24 Can you provide a minimal reproduction? https://storybook.new |
Describe the bug
Upgrading from 7.0.0-beta.29 to beta.30 results this error.
the
BrowserModule
have already been loaded. If you need access to common directives such as NgIf and NgFor, import theCommonModule
instead.We do not load browserModule in our configuration at all.
This is likely a result of #20559
To Reproduce
Private repo. The storybook build exists on chromatic and can be provided, if needed.
System
Additional context
We have worked with angualr.json configuration for storybook prior to this version.
The text was updated successfully, but these errors were encountered: