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 fails on fresh Angular 13 app #17201
Comments
I am seeing the same errors in a fresh project with Angular |
Ta-da!! I just released https://github.com/storybookjs/storybook/releases/tag/v6.5.0-alpha.15 containing PR #17206 that references this issue. Upgrade today to the
Closing this issue. Please re-open if you think there's still more to do. |
Ta-da!! I just released https://github.com/storybookjs/storybook/releases/tag/v6.4.13 containing PR #17206 that references this issue. Upgrade today to the
|
This is so ridiculous, I still see this error and can't set up Storybook on the fresh Angular 13 project. You may need an appropriate loader to handle this file type, currently, no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
|
Describe the bug
When I create a fresh Angular 13 app, then use sb init, the
npm run storybook
fails with build errors in the .stories.ts files. These errors always land on typescript syntax, and I can change which lines error out by removing the type annotations. The failed build output is listed in the additional context.No additional changes were made beyond the commands run below.
To Reproduce
Run these commands:
ng new TestStories
npx sb@next --type angular
npm run storybook
System
Additional context
Failed build output:
This is using Angular
~13.0.0
with typescript~4.4.3
I had tried using the angular.json configuration mentioned in the warnings at the top of the build output, but that did not change the actual errors when I run
ng run TestStories:storybook
, so I did not include that in the reproduction stepsThe text was updated successfully, but these errors were encountered: