histoire throws error when loading stories from another workspace #180
-
Hi, I have a monorepo with multiple workspaces, one workspace is the Histoire project, and I'm trying to make histoire look for stories in another workspace.
I also have a github repo where you can reproduce the problem. Histoire throws the following error when looking for the story on the other workspace.
I can't find a solution for this, I'm missing something here ? Thanks!! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 9 replies
-
@marcelobotega I'm struggling with the same problem. Did you come up with a sufficient solution? |
Beta Was this translation helpful? Give feedback.
-
Make sure to allow file loading in the vite config: |
Beta Was this translation helpful? Give feedback.
Make sure to allow file loading in the vite config:
https://github.com/marcelobotega/histoire-monorepo-error/blob/9d5b5ef9eea97aa5d6ed3c79f7e5c2c1e38d0b52/workspace-b/histoire.config.ts#L8