storybook: Module build failed on fresh install

I just install clear version of react-storybook and after command “npm run storybook” I getting error message:

ERROR in ./src/stories/index.js
Module build failed: SyntaxError: Unexpected token (8:4)

   6 | storiesOf('Welcome', module)
   7 |   .add('to Storybook', () => (
>  8 |     <Welcome showApp={linkTo('Button')}/>
     |     ^
   9 |   ));
  10 | 
  11 | storiesOf('Button', module)

 @ ./.storybook/config.js 4:2-27

Screenshot: http://imgur.com/a/efL5A

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Reactions: 4
  • Comments: 15 (5 by maintainers)

Most upvoted comments

I have exactly the same issue after after installed storybook in a Meteor app.