-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
(0, _typeof4.default) is not a function #1678
Comments
I commented out a bunch of code in All of this experimentation is with the built it in example stories, not any of my own components, which seems to exclude |
This may be related to a cache somewhere. I can get this to work with all the same dependencies in a fresh project. I'll keep chipping away at it, but any ideas would be amazing! |
Hey @blargity, I'm experiencing the same problem on my own project using the steps you discussed. Here's my dependencies list and various versions of things I'm using. I've tried removing my .babelrc file to see if this fixes it, no luck. I've also tried editing my .babelrc to include the
|
@vtsatskin the latest babelrc should contain in 3.2.5 should contain |
I've tried updating my
Following your suggestions (and also trying to upgrade the babel preset packages) does not fix the issue. I've also run this with and without a
From my understanding, isn't storybook on react native supposed to run properly on a device when given no |
I'm gonna have to apologize and suggest you try to revert back to 3.2.3 if you need to have it working asap. I saw that your We added a dependency for react-native backwards compatibility in 3.2.4 that broke storybook react-native when used with They've been fixed since, but we're still fixing a few other things that are broken on the master branch before publishing the next patch release. I know it's frustrating, I've been waiting on it as well. |
Hey @danielduan, I'm not frustrated at all and thanks for all your help! I've tried integrating with 3.2.3 and it still didn't work. I performed the following:
I've also edited the |
@vtsatskin you should go into your the |
@danielduan I just tried that, still no luck. |
@vtsatskin does |
@danielduan I'll give it a shot too. |
@danielduan 3.2.6 doesn't help either |
Does anyone have a project I can clone on github to test this out? Really apologize for the bug, there's been a lot of issues we ironed out over the last few patch releases. I believe |
I had the same exact bug, but got passed it. I removed all my storybook node modules and did: no clue why, but it just started working. @qwert666 - I wish you the same strange luck! |
There was an issue with the cli not installing the |
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. We do try to do some housekeeping every once in a while so inactive issues will get closed after 90 days. Thanks! |
This seems like it's a caching issue for me as well. I was having this issue and wasn't getting a good stack trace, so I started dropping console.log()s at As soon as I got to |
I'm going to close this issue for now because there's no real reproduction of this. Maybe the solution is to just remove all If someone has a repro on Github, please comment back and we'll reopen the issue. |
Unfortunately even on 3.2.5 I'm still getting the issue from #1665. I'm no longer as strongly convinced that it's babel config.
Reproduction steps:
getstorybook
yarn run storybook
react-native run-ios
I'll keep digging on my side, but unfortunately this isn't resolved yet. Does anyone have any ideas? I can't seem to figure out what's causing it, and running
react-native run-ios
without Storybook works.The text was updated successfully, but these errors were encountered: