-
-
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
Installation fails in an existing Angular 9 project #12232
Comments
Can please someone help? |
Can you provide a repo that reproduces the issue? That error looks like your default project in Since no configuration details are provided, my best guess is that you are maybe using Nx? If that is the case, you may find steps to help here: https://nx.dev/angular/plugins/storybook/overview |
Also getting the same issue. I followed the install on an Ionic Project and straight Angular project both on ng9. I did this initially using the standard tutorial & then also the tutorial here. I got the invalid hook calls errors other are getting, it seemed to be in this case the app wanted to instanciate React but no react instance was installed. There were also a number more errors. We're not using an nx repro. |
@Marklb thank you for the answer. I don't use an nx repo either. |
Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks! |
Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks! |
Good golly!! I just released https://github.com/storybookjs/storybook/releases/tag/v6.2.0-alpha.13 containing PR #13558 that references this issue. Upgrade today to the
|
Olé!! I just released https://github.com/storybookjs/storybook/releases/tag/v6.1.15 containing PR #13558 that references this issue. Upgrade today to the
|
Describe the bug
When I run
npx sb init
ornpx -p @storybook/cli sb init
in an existing angular 9 project, I get the following error:Cannot read property 'build' of undefined.
To Reproduce
Steps to reproduce the behavior:
npx sb init
ornpx -p @storybook/cli sb init
commandExpected behavior
Installation succeeds
Screenshots
System:
OS: macOS Mojave 10.14.6
CPU: (8) x64 Intel(R) Core(TM) i7-3635QM CPU @ 2.40GHz
Binaries:
Node: 12.16.1 - ~/.nvm/versions/node/v12.16.1/bin/node
Yarn: 1.0.2 - /usr/local/bin/yarn
npm: 6.13.4 - ~/.nvm/versions/node/v12.16.1/bin/npm
Browsers:
Chrome: 84.0.4147.135
Firefox: 79.0
Safari: 13.1.2
npmGlobalPackages:
@storybook/cli: 6.0.16
Additional context
Can you please help? I can't find any workaround.
The text was updated successfully, but these errors were encountered: