Closed fdmmarshall closed 1 year ago
Same problem here using react. It seems zeplin storybook-inspector imports vue also if we are on react. For example vue is imported when using getFilePath function.
Removing "vue require"
921:e=>{e.exports=require("vue/dist/vue")}
from dist bundle node_modules/.pnpm/@zeplin+storybook-inspector@0.1.3_react-dom@18.2.0/node_modules/@zeplin/storybook-inspector/dist/index.js
let storybook starts without errors.
@yuqu that pr should resolve https://github.com/zeplin/storybook-inspector/pull/12
I'm facing this issue only with storybook v7.
@fdmmarshall can you specify your environment setup please?
@Luk-z yes, the version of storybook I am using is 7 as well.
Also looking forward to fix this issue. I've got also the mentioned error and an another message telling about missing react and react-dom. I am using SB v7 with HTML Profile. Therefor this option seems to be the most relevant to test out the strict necessary dependencies.
Same problem here with Storybook 7. Would be great to have this feature :-)
Hello, I am having trouble with the zeplin addon, I installed using the following command
npm install --save-dev storybook-zeplin
, then added it to the addons array, but when I runnpm run storybook
in my react application I get the following error:I am not sure how to resolve this error, please advise. Thanks!