Skip to content
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

Storybook not recovering from errors "Error: _get__(...).unmountComponentAtNode is not a function" #275

Closed
wallslide opened this issue Jun 23, 2016 · 10 comments
Labels

Comments

@wallslide
Copy link

wallslide commented Jun 23, 2016

If an error occurs in a story, after fixing the error the story is stuck in an error state.

I'm using version 1.34.0

Expected:
The story will 'recover' and return to a working state after the coding/syntax error is fixed.

Actual:
The following error replaces the original error:

Error: _get__(...).unmountComponentAtNode is not a function
image

Refreshing the browser fixes the problem until the next time a coding/syntax error occurs.

@arunoda
Copy link
Member

arunoda commented Jun 23, 2016

Is it possible to get a kind of a sample project. So, I can work on this.

@arunoda
Copy link
Member

arunoda commented Jun 23, 2016

May be related to this: #276

@PEM--
Copy link

PEM-- commented Jun 27, 2016

Got this issue too since 1.34.x. I need to it a full reload each time the red warning is displayed.

arunoda added a commit that referenced this issue Jun 27, 2016
@arunoda
Copy link
Member

arunoda commented Jun 27, 2016

Yep. Found the issue and fixed with the newest version: v1.35.1

@arunoda arunoda added bug and removed discussion labels Jun 27, 2016
@PEM--
Copy link

PEM-- commented Jun 27, 2016

Thanks 👍 You nailed it.

@arunoda
Copy link
Member

arunoda commented Jun 27, 2016

Great. Going to close this then :)

@arunoda arunoda closed this as completed Jun 27, 2016
@markerikson
Copy link

@arunoda : Can you clarify what exactly the issue was? I'm seeing the same issue in my own app, and this is the only real hit for the specific error message.

@arunoda
Copy link
Member

arunoda commented Nov 30, 2016

@markerikson are you using the latest version of Storybook?
If that's the latest, could you open a new issue with a way to reproduce the issue.

@markerikson
Copy link

Ah... no, I'm not using Storybook at all, I'm just using redbox-react in my own application, and seeing this same error message. Was curious exactly what you did to work around things.

@arunoda
Copy link
Member

arunoda commented Nov 30, 2016

Actually, not we are using a our own error box. We don't use react-redbox anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants