You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Try removing preset-typescript. Typescript support is built-in after SB6.0.
Also, can you please create a reproduction by running npx sb@next repro, following the instructions, and linking it in your issue description? We prioritize issues with reproductions over those without. Thank you! 🙏
While I couldn't isolate the problem to create a reproduction, I've used patch-package to make a monkey patch for react-docgen-typescript that solved the problem.
Describe the bug
In storybook, I get the error
my typescript version is
4.2.4
System
Environment Info:
System:
OS: Windows 10 10.0.18362
CPU: (4) x64 Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz
Binaries:
Node: 14.8.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.4 - C:\Program Files\nodejs\yarn.CMD
npm: 6.14.7 - C:\Program Files\nodejs\npm.CMD
Browsers:
Chrome: 91.0.4472.77
Edge: Spartan (44.18362.449.0)
npmPackages:
@storybook/addon-a11y: ^6.1.9 => 6.2.9
@storybook/addon-essentials: ^6.1.9 => 6.2.9
@storybook/preset-typescript: ^3.0.0 => 3.0.0
@storybook/react: ^6.1.6 => 6.2.9
The text was updated successfully, but these errors were encountered: