We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug I receive the following error when creating a new Angular Storybook project:
Error: Could not find a default project in your Angular workspace. Set a defaultProject in your angular.json and re-run the installation.
To Reproduce Steps to reproduce the behavior:
npx sb init
ANGULAR
npx -p @storybook/cli sb init --type angular
Adding Storybook support to your "Angular" app
Expected behavior The Angular project to be successfully installed
Screenshots
System System: OS: macOS 11.1 CPU: (4) x64 Intel(R) Core(TM) i5-8210Y CPU @ 1.60GHz Binaries: Node: 14.5.0 - ~/.nvm/versions/node/v14.5.0/bin/node Yarn: 1.22.10 - /usr/local/bin/yarn npm: 6.14.5 - ~/.nvm/versions/node/v14.5.0/bin/npm Browsers: Chrome: 87.0.4280.88 Firefox: 84.0.1 Safari: 14.0.2
The text was updated successfully, but these errors were encountered:
I'm not sure, but did you execute npx sb init command in an existing angular project ? https://storybook.js.org/docs/react/get-started/install
Use the Storybook CLI to install it in a single command. Run this inside your existing project’s root directory:
Sorry, something went wrong.
Ah, thanks @ThibaudAV. I was expecting an empty Angular shell, but it makes sense that isn't Storybook's job.
No branches or pull requests
Describe the bug
I receive the following error when creating a new Angular Storybook project:
To Reproduce
Steps to reproduce the behavior:
npx sb init
and chooseANGULAR
from options, or runnpx -p @storybook/cli sb init --type angular
Adding Storybook support to your "Angular" app
, see the following error:Expected behavior
The Angular project to be successfully installed
Screenshots
System
System:
OS: macOS 11.1
CPU: (4) x64 Intel(R) Core(TM) i5-8210Y CPU @ 1.60GHz
Binaries:
Node: 14.5.0 - ~/.nvm/versions/node/v14.5.0/bin/node
Yarn: 1.22.10 - /usr/local/bin/yarn
npm: 6.14.5 - ~/.nvm/versions/node/v14.5.0/bin/npm
Browsers:
Chrome: 87.0.4280.88
Firefox: 84.0.1
Safari: 14.0.2
The text was updated successfully, but these errors were encountered: