question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Story is not shown in storybook

See original GitHub issue

image Everything that I’ve written is on the screenshot above.

I’m not really sure what’s wrong with it, cuz there’s no errors There was just an error that looks like

Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined.
You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.

Check the render method of `unboundStoryFn`.

And the warning that my export default is actually unused.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9

github_iconTop GitHub Comments

7reactions
krau5commented, Oct 16, 2021

Lol, same error 😅 And I do not remember the solution

4reactions
krau5commented, Apr 3, 2021

Already fixed 👌🏿

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to troubleshoot storybook not loading stories?
Resave save the story file. It makes the component reappear in side panel, and then you can see the errors ...
Read more >
Storybook does not show any stories! · Issue #13811 - GitHub
I tried adding Storybook into a newer project. I have used Storybook before, but the last version I was running was 5.3.18.
Read more >
Frequently Asked Questions - Storybook - JS.ORG
How can my code detect if it is running in Storybook? Why are my stories not showing up correctly when using certain characters?...
Read more >
Couldn't find any stories in your Storybook [#3274004] - Drupal
I am getting this: Couldn't find any stories in your Storybook. - Please check your stories field of your main. js config.
Read more >
Storybook addon not showing - Sami C.
If your addon in storybook is suddenly not showing, simply execute the following command in your browser console: localStorage.clear();.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found