-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Creating angular project with no initial app throws sb init error #12058
Comments
Automention: Hey @Marklb @MaximSagan @kroeder @tooppaaa @yannbf, you've been tagged! Can you give a hand here? |
@AlokTakshak I had the same problem and for me, the fix was to in the angular.json set the "defaultProject" field to the correct name. Hope this helps! |
Seems to be related to #6978 Indeed sotrybook works only if it "finds" an application in angular.json. it doesn't work with a library |
I'm having this exact error in ng13
What do you mean by "correct name"?
I have |
Is this still an existing issue in 7.0 beta? |
The issue doesn't provide their |
@AlokTakshak this issue seems to be fixed as i tried to reproduce it but it was already fixed you can move it to fix section |
I'll be closing this issue as it seems to be solved in Storybook 7, but feel free to reopen it in case you are still experiencing it in Storybook 7! |
Describe the bug
Creating angular project with no initial app throws sb init error
• Detecting project type. ✓
• Adding Storybook support to your "Angular" app
TypeError: Cannot read property 'architect' of undefined
To Reproduce
Steps to reproduce the behavior:
Expected behavior
should add storybook to my workspace
Screenshots
![image](https://user-images.githubusercontent.com/26347838/90336048-d7947100-dff6-11ea-816c-b559050549d4.png)
If applicable, add screenshots to help explain your problem.
The text was updated successfully, but these errors were encountered: