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]: Adding Storybook to NextJS 14 app with typescript freezes the build step at linting and type checking #25764
Comments
Do you a have a reproduction repo you can share? If not, can you create one? Go to https://storybook.new or see repro docs. Thank you! 🙏 |
Since I wasn't able to reproduce this issue on a new NextJS project from scratch - reproduction repo, I tried setting up the storybook in my current project on top of the first commit and everything ran smoothly. Then I wanted to figure out after what change does it start to mess up. After multiple attempts of using But again, when I tried setting up both on the new reproduction repo, I still couldn't reproduce it. Not sure why it is happening in my main project but not in the reproduction repo. |
Finally, I was able to reproduce the issue after adding moment to the reproduction repo and using it with Here, is the link to the reproduction repo @shilman. Thanks much! |
Describe the bug
Following the official documentation here, I added Storybook to my existing NextJS project and after the storybook installation was completed, the storybook server started and worked fine. But the next thing when I try to build my project with
npm run build
which would in turn runnext build
, the build process gets stuck atLinting and checking validity of types
forever.Version Info:
To Reproduce
No response
System
Additional context
No response
The text was updated successfully, but these errors were encountered: