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
Angular Storyshots 5.0.6: Cannot read property 'get' of undefined #6490
Comments
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! |
I got the same problem with
|
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! |
Hey there, it's me again! I am going close this issue to help our maintainers focus on the current development roadmap instead. If the issue mentioned is still a concern, please open a new ticket and mention this old one. Cheers and thanks for using Storybook! |
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! |
Up (to not get closed again for nothing...) |
Hi, I have the same problem. Did you solve it? |
@smikolajewicz , no it's style waiting to be resolved |
Hi, I'm also having the same issue. Did anyone find a solution yet? |
@AkshayRana92 @rfreydi any luck setting it up? Getting the same exact error and can't figure out why :| |
Hi, same issue on my side (Angular 8.2.12 & Storybook 5.2.5). |
I can reproduce in in UPD: seems fixed in babel with babel/babel#10161. I'll update corresponding dependencies in |
I seem to be getting this in |
Hmm, running this on Node 10 (matching our build server) this issue goes away, but on my new laptop (with Node |
Yes, it's an issue specific to newer Node versions |
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! |
This is now resolved as of |
awesome! closing! |
No i installed a fresh copy from create react app and then storybook with npx -p @storybook/cli sb init --type react_scripts |
@arun678 this is an angular issue? |
No, it's react. But have encountered same error. |
Describe the bug
I was trying to follow the tutorial from https://www.learnstorybook.com/angular/en/simple-component/ but got a lot of trouble (the doc for jest-preset-angular is not up to date and hard to find the right way).
I'm stuck with last step, I think I configured everything up but when I run the jest test angularshots.test.ts fail. it look like it's the import 'global' which doesn't work properly from addon-storyshots/dist/api/index.js.
To Reproduce
Steps to reproduce the behavior:
I personally use Intellij IDEA built-in Jest runner which is more visual (screenshot come from it)
migrate_to_v5.patch.txt
Expected behavior
The test should run like for the v3 version of the repo
Screenshots
v5
v3
System:
The text was updated successfully, but these errors were encountered: