Storybook wont start with given startup instructions
See original GitHub issueGriddle version
1.4.0
Expected Behavior
Storybook server starts
Actual Behavior
ERROR in ./stories/index.tsx
Module build failed: SyntaxError: Unexpected token (62:60)
60 | return fakeData_1["default"].slice(start, start + 10);
61 | }
> 62 | var GreenLeftSortIconComponent = function (props) { return (<span style={{ color: "#00ff00" }}>
| ^
63 | {props.icon && <span>{props.icon}</span>}
64 | {props.title}
65 | </span>); };
@ ./.storybook/config.js 4:2-23
Steps to reproduce
- Fork Repo
- npm install
- npm run storybook
Pull request with failing test or storybook story with issue
While this step is not necessary, a failing test(s) and/or a storybook story will help us resolve the issue much more easily. Please see the README for more information.
Issue Analytics
- State:
- Created 6 years ago
- Comments:9 (9 by maintainers)
Top Results From Across the Web
Storybook fails to launch · Issue #10164
Any help given will be greatly appreciated. To Reproduce Steps to reproduce the behavior: Go to the package folder; Type npm run storybook...
Read more >Setup Storybook - JS.ORG
Storybook is a frontend workshop for building UI components and pages in isolation. Thousands of teams use it for UI development, testing, and...
Read more >Install Storybook
Storybook needs to be installed into a project that is already set up with a framework. It will not work on an empty...
Read more >Configure Storybook
Configure your Storybook project. The main configuration file is main.js . This file controls the Storybook server's behavior, so you must restart ......
Read more >Frequently Asked Questions - Storybook - JS.ORG
Storybook is a frontend workshop for building UI components and pages in isolation. Thousands of teams use it for UI development, testing, and...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Ah, the change is by design: https://github.com/Microsoft/TypeScript/issues/15409#issuecomment-297765710. PR incoming with that fix.
@dahlbyk thanks for the fix!