Open luigiminardim opened 3 years ago
Same issue here
same
70% sealing React Docgen Typescript Plugin/Users/victorboutte/wistia/the-editor/node_modules/react-docgen-typescript/lib/parser.js:475
var trimmedText = (tag.text || '').trim();
^
TypeError: (tag.text || "").trim is not a function
the workaround to get this running for me, was to dive into react-docgen-typescript/lib/parser.js:475
and remove the .trim()
call
created an issue for this in react-docgen-typescript
repo
same issue here.
Seems like they fixed it and it was merged 5 days ago. https://github.com/styleguidist/react-docgen-typescript/issues/356
There's a workaround : https://github.com/styleguidist/react-docgen-typescript/issues/356#issuecomment-850400428
Current Behavior
I have created a package using
tsdx create package-name
with the storybook option. But, when I run the commandyarn storybook
, I receive the following error:Expected behavior
yarn storybook
should work in fresh projects.Your environment