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

yarn storybook command not working properly #75

Closed
3 tasks done
brunomenezes opened this issue Aug 1, 2023 · 0 comments · Fixed by #76
Closed
3 tasks done

yarn storybook command not working properly #75

brunomenezes opened this issue Aug 1, 2023 · 0 comments · Fixed by #76
Assignees
Labels
type:bug Something isn't working and requires a fix

Comments

@brunomenezes
Copy link
Collaborator

brunomenezes commented Aug 1, 2023

📄 Context

Currently, we are using Storybook, and for every pull-request and push, we publish to Chromatic. Apparently, it works as expected since we use the storybook-build command and publish the folder with the static content. But if we use the yarn storybook command inside the apps/staking folder, for example, or in the root of the project through turborepo task, the build goes well (without any failures), the app opens, but all the stories display this Storybook preview hook error message.

✔️ Solution

Recently we did some upgrades in the storybook libs/deps. An investigation would be necessary to see in which tag for example that problem may have been introduced, the tags may help to narrow down the changes since we have compares defined inside the CHANGELOG.md.

📈 Subtasks

  • Investigate where the yarn storybook command stops working properly.
  • Apply the changes to fix the configuration/code that is causing the trouble.

🎯 Definition of Done

  • Running yarn storybook renders the stories without problem.
@brunomenezes brunomenezes added the type:bug Something isn't working and requires a fix label Aug 1, 2023
@nevendyulgerov nevendyulgerov linked a pull request Aug 1, 2023 that will close this issue
@nevendyulgerov nevendyulgerov self-assigned this Aug 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something isn't working and requires a fix
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants