Cannot find target storybook for project
See original GitHub issueLibrary config is not updated in cache
Current Behavior
Error “Cannot find target storybook for project xxx” when run library storybook
Expected Behavior
Run storybook command working correctly
Steps to Reproduce
- Generate a react library
- Generate react library storybook config
- Run storybook of the library
- An error occurs “Cannot find target storybook for project xxx”
- Remove node_modules folder to remove .cache folder then re-install
- Re-run storybook command of the library. The command working
Failure Logs
Environment
Node : 14.17.6 OS : linux x64 yarn : 1.22.17
nx : 13.0.0 @nrwl/angular : Not Found @nrwl/cli : 13.0.0 @nrwl/cypress : 13.0.0 @nrwl/devkit : 13.0.0 @nrwl/eslint-plugin-nx : 13.0.0 @nrwl/express : Not Found @nrwl/jest : 13.0.0 @nrwl/linter : 13.0.0 @nrwl/nest : Not Found @nrwl/next : 13.0.0 @nrwl/node : 13.0.0 @nrwl/nx-cloud : 12.5.0 @nrwl/react : 13.0.0 @nrwl/schematics : Not Found @nrwl/tao : 13.0.0 @nrwl/web : 13.0.0 @nrwl/workspace : 13.0.0 @nrwl/storybook : 13.0.0 @nrwl/gatsby : Not Found typescript : 4.3.5
Issue Analytics
- State:
- Created a year ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
storybook fails to start after upgrade angular - Stack Overflow
it seems Angular 14 is only supported from storybook version 7.0.0-alpha.0 so you would probably want to use test version in your project, ......
Read more >Set up Storybook for Angular Projects - Nx
This guide will walk you through setting up Storybook for Angular projects in your Nx workspace. Set up Storybook in your workspace. You...
Read more >@nrwl/storybook - npm
Nx is a next generation build system with first class monorepo support and powerful integrations. This package is a Storybook plugin for Nx....
Read more >Configure Storybook
Configure your Storybook project · stories - an array of globs that indicates the location of your story files, relative to main. ·...
Read more >Storybook for Angular fails with default/initial library config ...
npx sb@next init; npm run storybook; Observe error: Error: Missing required options in project target. Check "tsConfig". System Environment Info ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@dangviettuan Have you tried to run
nx reset
?If your problem is solved can you please close the issue? It sparks joy for maintainers ✨
This issue has been automatically marked as stale because it hasn’t had any recent activity. It will be closed in 14 days if no further activity occurs. If we missed this issue please reply to keep it active. Thanks for being a part of the Nx community! 🙏