zeplin / storybook-zeplin

Storybook addon to view Zeplin resources in story panel
https://storybook-zeplin.netlify.app
MIT License
115 stars 16 forks source link

Component linking not working - Storybook >= v6.4.0 #41

Closed ivankoop closed 2 years ago

ivankoop commented 2 years ago

Hi,

I was trying to connect my storybook using version >= 6.4.0, and the following error was showing on the UI.

Screen Shot 2021-12-17 at 10 36 17

Checking the storybook console using storybook-zeplin/register I can see an error.

vendors~main.manager.bundle.js:32094 Uncaught (in promise) TypeError: n is not a function
    at vendors~main.manager.bundle.js:32094
    at Generator.next (<anonymous>)
    at vendors~main.manager.bundle.js:32094
    at new Promise (<anonymous>)
    at n (vendors~main.manager.bundle.js:32094)
    at e (vendors~main.manager.bundle.js:32094)
    at vendors~main.manager.bundle.js:32094
    at Generator.next (<anonymous>)
    at a (vendors~main.manager.bundle.js:32094)

this error doesn't show using storybook < 6.4. Component linking works using storybook < 6.4

Thanks.

mertkahyaoglu commented 2 years ago

@ivankoop Thanks for the issue. We'll look into this.

ivankoop commented 2 years ago

thanks guys!

Tested with v1.6.1 and it's working 😄

mertkahyaoglu commented 2 years ago

Awesome 🎉 @ivankoop