Closed damianfabian closed 1 year ago
same error😥
@damianfabian try to lock your @storybook/addon to ^6.3.0 may resolve your issue. I changed it from 6.5.13 to 6.3.7 and the errors gone https://github.com/reme3d2y/storybook-addon-live-examples/blob/main/package.json#L61
"peerDependencies": {
"@storybook/addon-docs": "^6.3.0",
"@storybook/addons": "^6.3.0",
"@storybook/api": "^6.3.0",
"@storybook/components": "^6.3.0",
"@storybook/core-events": "^6.3.0",
"@storybook/theming": "^6.3.0",
"react": "^16.8.0 || ^17.0.0",
"react-dom": "^16.8.0 || ^17.0.0"
},
Hi!
I have been trying to use the plugin with React and found this issue, I track the problem to be some decorator inside a file called
story-decorator.js
. Below steps to reproduce:Below you can see my configuration for Storybook:
and this is my
preview.js
file:This is an example of a
Story
:If someone can give me a hint of what I need to solve, I would probably fix it, but I don't know where to start looking at. Thanks!