-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Storybook build fails when following the tutorials #8527
Comments
Add |
@hudzenko THX! |
I think this is the related issue #8199 |
Thank you all for helping out @mbeckenbach ! A fix will land soon! :) |
Closing this since it's a duplicate, ok? |
I promise to re-open if it persists |
@mandarini sure, thanks. |
New docs for |
This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context. |
Current Behavior
I tried to add storybook to some ui libs but it failed, so I created a new workspace with one angular app, a workspace lib and an angular lib. It follows the example of your angular tutorial except, that there is no backend app. But i still get the same errors.
Then i added storybook for the UI lib as it is described here:
https://nx.dev/storybook/overview-angular
When i run
nx run ui:storybook
it crashes with this error:/apps/todos/src/polyfills.ts is missing from the TypeScript compilation. Please make sure it is in your tsconfig via the 'files' or 'include' property.
Now what surprises me a lot is, that it seams to look for the polyfills.ts in the todos app. So outside of the ui lib boundaries.
As far as i understand this setup, it should not break the boundaries of this lib in my scenario. I mean the whole Idea of using storybook is to build components in isolation, right?
Expected Behavior
Storybook should launch...
Steps to Reproduce
I pushed my example project here: https://github.com/mbeckenbach/nxsbissue
Failure Logs
Environment
The text was updated successfully, but these errors were encountered: