You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After updating to Storybook 8, when I run the command npx nx storybook angular-test-storybook, it builds stories and opens the browser, so I can see that modules are building, BUT it terminates right after the message Successfully ran target storybook for project angular-test-storybook. It worked when I initially created the NX workspace and used Storybook 7.
Expected Behavior
The command npx nx storybook angular-test-storybook should start watch mode as it was with Storybook 7.
P.S. I've tested Storybook 8 on a clean Angular environment (without NX), and it works properly.
Add configuration npx nx g @nx/angular:storybook-configuration angular-test-storybook
Run storybook npx nx storybook angular-test-storybook. It runs successfully, and I can view it in the browser.
Upgrade to Storybook 8 npx storybook@latest upgrade --config-dir apps/angular-test-storybook/.storybook
Re-run the storybook: npx nx storybook angular-test-storybook. It runs a build, shows the Storybook version message with URLs, and Successfully ran target storybook for project angular-test-storybook. And immediately terminates.
Current Behavior
After updating to Storybook 8, when I run the command
npx nx storybook angular-test-storybook
, it builds stories and opens the browser, so I can see that modules are building, BUT it terminates right after the messageSuccessfully ran target storybook for project angular-test-storybook
. It worked when I initially created the NX workspace and used Storybook 7.Expected Behavior
The command
npx nx storybook angular-test-storybook
should start watch mode as it was with Storybook 7.P.S. I've tested Storybook 8 on a clean Angular environment (without NX), and it works properly.
GitHub Repo
https://github.com/NechiK/nx-angular-storybook-8-issue
Steps to Reproduce
npx create-nx-workspace@latest angular-test-storybook --preset=angular-monorepo
npx nx add @nx/storybook
npx nx g @nx/angular:storybook-configuration angular-test-storybook
npx nx storybook angular-test-storybook
. It runs successfully, and I can view it in the browser.npx storybook@latest upgrade --config-dir apps/angular-test-storybook/.storybook
npx nx storybook angular-test-storybook
. It runs a build, shows the Storybook version message with URLs, andSuccessfully ran target storybook for project angular-test-storybook
. And immediately terminates.Nx Report
Failure Logs
Package Manager Version
No response
Operating System
Additional Information
I had this issue when I used Nx 19.0.6 and 19.0.8 versions too.
The text was updated successfully, but these errors were encountered: