You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current behavior
I created a storybook for a component but when I want to view the component in storybook the component fails to render because of an error in the docgen api plugin. During normal vue rendering (out of the context of storybook), this component work perfectly.
The problem relates to an import of a radix library type:
import type { PrimitiveProps } from 'radix-vue'
This is the error I am getting:
[plugin:storybook:vue-docgen-plugin] ENOENT: no such file or directory, open '../../../node_modules/radix-vue/dist/index.js'
It seems to resolve to the wrong directory, I think the node_modules directory is one directory higher then the ../ is going to.
Current behavior
I created a storybook for a component but when I want to view the component in storybook the component fails to render because of an error in the docgen api plugin. During normal vue rendering (out of the context of storybook), this component work perfectly.
The problem relates to an import of a radix library type:
import type { PrimitiveProps } from 'radix-vue'
This is the error I am getting:
[plugin:storybook:vue-docgen-plugin] ENOENT: no such file or directory, open '../../../node_modules/radix-vue/dist/index.js'
It seems to resolve to the wrong directory, I think the node_modules directory is one directory higher then the ../ is going to.
To reproduce
https://github.com/dobby/vue-storybook
If you start storybook and go to the button or card you will see the error.
What should happen:
It should resolve the dependency to radix-vue correctly.
The text was updated successfully, but these errors were encountered: