chrisvxd / story2sketch

Convert Storybook into Sketch symbols 💎
Other
402 stars 32 forks source link

How do you debug why things aren't working? #68

Closed leerob closed 4 years ago

leerob commented 5 years ago

I've been trying everything I can do to get this working with no luck. Whenever I import the file into Sketch, it's always empty.

I tried doing the custom config and only selecting a story and that didn't seem to change anything. Is this because I'm using Storybook 5?

So my question is: How can I debug when the import into Sketch doesn't output anything?

chrisvxd commented 5 years ago

Hi @leerob. Unfortunately story2sketch doesn't do a great job at making it easy to debug.

There's a myriad of technologies at play, and some can be a little brittle (for example, html-sketchapp), and errors often to get swallowed up and things fail silently.

I'd really like to improve this, so I've just opened #70.

So I can help with your particular issue, are you able to share your storybook setup with me?

acrossell-hedgehog commented 5 years ago

@leerob, I've also been having issues debugging. I've found sketch dev tools very helpful with import issues.

https://github.com/skpm/sketch-dev-tools