New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
create-react-app #880
Comments
Comment by lifeiscontent figured it out, I needed a |
Comment by roonyh Glad it works! storyshots comes pre transpiled. So I think this is unrelated to storyshots. Anyway reopen if needed. |
Comment by kedoska I have the same issue. in my import initStoryshots from 'storyshots'
initStoryshots({
suit: 'ComponentStories'
}) when i run my project was created with |
Comment by Fatxx Any solution here? Get in the same error |
Comment by Fatxx Could this issue be related to the command |
Comment by marc-rutkowski @kedoska, @Fatxx, as mentioned by @lifeiscontent, providing a basic
Let us know if it works for you. |
Comment by irnc Please have a look at storybook-eol/storyshots#67 (review) which added code related to babel config. The root cause for that issue seems to be in usage of |
Comment by baptistemanson We were not able to get storyshots working at the same time as storybook and create-react-app using the workaround. |
Comment by irnc @baptistemanson For a workaround, you could move from ES6 to ES5 in Note, that original error is about unknown syntax in |
We currently do not support ES modules in our config files. maybe in the future we will. |
Issue by lifeiscontent
Friday Dec 30, 2016 at 10:33 GMT
Originally opened as storybook-eol/storyshots#71
When using a default create-react-app for storyshots, it seems to break.
I've got this code in
src/Storyshots.test.js
the error in the test is
The text was updated successfully, but these errors were encountered: