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

No stories found message #87

Closed
lisbuenas opened this issue Mar 29, 2022 · 3 comments
Closed

No stories found message #87

lisbuenas opened this issue Mar 29, 2022 · 3 comments
Labels
needs reproduction Can't be reproduced

Comments

@lisbuenas
Copy link

Currently I've installed the version 0.9.0 and inserted the configuration file on .ladle folder

export default {
stories: "../src/**/control.stories.{js,jsx,ts,tsx}",
};

the react version used was ^17.0.2, but on current run shows " No stories found" message,

Ps. I'm using same config on working storybook files

@tajo tajo added the needs reproduction Can't be reproduced label Mar 29, 2022
@tajo
Copy link
Owner

tajo commented Mar 29, 2022

Can you create a reproduction with https://node.new/ladle?

Possible issue: ../src/**/control.stories.{js,jsx,ts,tsx} is not a valid glob pattern, you can't use ../.

@lisbuenas
Copy link
Author

Hi @tajo , I've checked the base of file and remember that I'm using Meta and Story elements from storybook, have any option to replace or import on this case?

https://stackblitz.com/edit/ladle-nkk9ln?file=src/components/AddressModal.stories.tsx

@tajo
Copy link
Owner

tajo commented Mar 29, 2022

using Meta and Story elements from storybook, have any option to replace or import on this case

Nope, you should remove Storybook specific imports.

@tajo tajo closed this as completed May 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs reproduction Can't be reproduced
Projects
None yet
Development

No branches or pull requests

2 participants