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

write_stories_json not generating stories.json files #175

Open
JesseLuBass opened this issue Aug 29, 2023 · 2 comments
Open

write_stories_json not generating stories.json files #175

JesseLuBass opened this issue Aug 29, 2023 · 2 comments

Comments

@JesseLuBass
Copy link

Hello!

We are testing the viability of adopting this gem to our project but have ran into some issues.

Besides problems mentioned in #164 , #166 and #146, which I've circumvented so far by pinning storybook to older version and not using Vite, I am unable to generate the corresponding JSON for each of the stories.rb file when I run the command:
rake view_component_storybook:write_stories_json

Versions:
"@storybook/addon-controls": "^6.5.17-alpha.0"
"@storybook/server": "^6.5.17-alpha.0"

Please let me know if I can contribute to the fix if it's being worked on, thanks!

@Arzamendiaariel
Copy link

Same here I can't generate the stories json

@pacMakaveli
Copy link

I got into the same issue, make sure you set config.view_component_storybook.stories_paths << Rails.root.join('spec/components/stories') if you're using rspec, otherwise it will look into a test folder.

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

No branches or pull requests

3 participants