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
When naming stories like this: stories.tsx, I get this error:
Error: Invariant failed: No matching indexer found for /Users/user/server/app/components/Link/stories.tsx
at invariant (/Users/user/server/node_modules/tiny-invariant/dist/tiny-invariant.cjs.js:14:11)
at StoryIndexGenerator.extractStories (/Users/user/server/node_modules/@storybook/core-server/dist/index.js:60:4143)
at /Users/user/server/node_modules/@storybook/core-server/dist/index.js:60:2601
at /Users/user/server/node_modules/@storybook/core-server/dist/index.js:60:2058
at Array.map (<anonymous>)
at /Users/user/server/node_modules/@storybook/core-server/dist/index.js:60:1965
at Array.map (<anonymous>)
at StoryIndexGenerator.updateExtracted (/Users/user/server/node_modules/@storybook/core-server/dist/index.js:60:1718)
at StoryIndexGenerator.ensureExtracted (/Users/user/server/node_modules/@storybook/core-server/dist/index.js:60:2517)
at StoryIndexGenerator.initialize (/Users/user/server/node_modules/@storybook/core-server/dist/index.js:60:1622)
I have the same issue with plain .ts stories (without TSX), even with minimal ones like below. It works well with SB v7.2.1, without any other changes in a build config (actually without any changes whatsoever)
Describe the bug
When naming stories like this:
stories.tsx
, I get this error:This on the other hand works:
To Reproduce
No response
System
Additional context
main.ts file:
The text was updated successfully, but these errors were encountered: