Skip to content
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]: Angular Error with project initialization #26083

Closed
jonniebigodes opened this issue Feb 18, 2024 · 2 comments · Fixed by #26213
Closed

[Bug]: Angular Error with project initialization #26083

jonniebigodes opened this issue Feb 18, 2024 · 2 comments · Fixed by #26213

Comments

@jonniebigodes
Copy link
Contributor

Describe the bug

When a new user installs Storybook on an Angular application, it will throw an error and prevent it from automatically running with a cryptic error, leaving the user needing guidance on moving forward and getting Storybook running. This is probably related to the changes introduced in a previous release, which initialized Storybook after finishing the setup process. Upon testing this, it seems that Angular is the only one suffering from this.

For reference, here are two screenshots of the issue presenting itself in both the latest stable version and the beta:

angular-beta-issue

angular-issue-latest

@valentinpalkovic if you're aware of this and this is already reported and tracked anywhere, feel free to close this.

To Reproduce

  • Initialize an Angular application
  • Initialize Storybook using the latest stable version or the beta version
  • Wait for the process to finish and verify the results.

System

No response

Additional context

No response

@mmorris8
Copy link

mmorris8 commented Feb 20, 2024

I'm hitting this as well.

Apparently you can run storybook afterwards and it will work. The command given in the output just before the error will work and may need to be manually copied into package.json.

@vanessayuenn
Copy link
Contributor

@valentinpalkovic I think we can just handle the error if we are sure storybook actually can be run after that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

6 participants