Replies: 1 comment 3 replies
-
For convenience reasons, Storybook's cache directory is located in the node_modules folder, since it is normally not checked in via version control. I understand, that in yarn PnP mode this folder doesn't exist. When Storybook creates a node_modules/.cache folder, do you encounter any side effects? Does it have a negative impact in yarn pnp mode when the node_modules folder is created or is it just nasty to have it in place, although it isn't required? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the bug
My project is using Yarn 2 PnP and consequently there exists no node_modules folder.
After I installed StoryBook with yarn version
then run storybook
them node_modules will be created.
Storybook had the same issue 3 years ago.
I am still curious whether the node_modules library is still unconditionally required to use storybook,
or if there is a way to run it in pnp mode without creating node_modules.
Beta Was this translation helpful? Give feedback.
All reactions