mantinedev / mantinedev/ui.mantine.dev
Storybook run fail
- Dominant language
- TypeScript
- Stars
- 3.9k
- Forks
- 364
- PR merge metrics
- No merged PRs in 30d
Description
commit `6f9c568ee161ab3239b826af92dd48415e319cf8`
```
> git clone https://github.com/mantinedev/ui.mantine.dev.git
> cd ui.mantine.dev
> yarn
> yarn run storybook
yarn run v1.22.19
$ storybook dev -p 6006
@storybook/cli v7.0.18
info => Starting manager..
WARN You (or an addon) are using the 'config' preset field. This has been replaced by 'pre
viewAnnotations' and will be removed in 8.0
info Addon-docs: using MDX2
info => Using implicit CSS loaders
info => Using default Webpack5 setup
[webpack-dev-middleware] wait until bundle finished
11% building 0/2 entries 189/284 dependencies 3/120 modulesWARN 🚨 Unable to index files:
WARN - ./lib/ActionToggle/ActionToggle.story.tsx: Unexpected `storiesOf` usage: /media/d9k
/Media3/repos/ui.mantine.dev/lib/ActionToggle/ActionToggle.story.tsx (line 6, col 0).
WARN
WARN In SB7, we use the next-generation `storyStoreV7` by default, which does not support
`storiesOf`.
WARN More info, with details about how to opt-out here: https://github.com/storybookjs/sto
rybook/blob/next/MIGRATION.md#storystorev7-enabled-by-default
WARN - ./lib/ActionsGrid/ActionsGrid.story.tsx: Unexpected `storiesOf` usage: /media/d9k/M
edia3/repos/ui.mantine.dev/lib/ActionsGrid/ActionsGrid.story.tsx (line 6, col 0).
. . . . .
99% end closing watch compilationWARN Force closed preview build
ModuleNotFoundError: Module not found: Error: Can't resolve './StatsSegments.module.css' i
n '/media/d9k/Media3/repos/ui.mantine.dev/lib/StatsSegments'
WARN Broken build, fix the error above.
WARN You may need to refresh the browser.
error Command failed with exit code 1.
```
### Versions
```
> node --version
v20.8.0
> yarn --version
1.22.19
```
Ubuntu 22.04
Contributor guide
No contributing guide indexed for this repository
Research direction
Run `yarn run storybook` at commit `6f9c568ee161ab3239b826af92dd48415e319cf8` and start with `lib/StatsSegments`, where Storybook cannot resolve `./StatsSegments.module.css`. Also review the `storiesOf` warnings in `lib/ActionToggle/ActionToggle.story.tsx` and `lib/ActionsGrid/ActionsGrid.story.tsx`; done means the Storybook build completes without the reported failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, storybook, typescript
- Domain
- frontend, tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100