Open irfandyj opened 1 year ago
I'm getting this on every install of Storybook right now. I've started projects from scratch...but its happening to me. Help!
I'm getting this on every install of Storybook right now. I've started projects from scratch...but its happening to me. Help!
Running npm install --save-dev @testing-library/dom
in your project should do the trick.
Describe the bug
Module not found: Can't resolve '@testing-library/dom' in '/home//projects/oss/storybook-react-design-system/node_modules/@testing-library/user-event/dist'
node_modules/@testing-library/user-event/dist/click.js
To Reproduce
create-react-app
npx storybook init
like in the Guides.npm run storybook
, then I got the error logsSystem
Additional context
Not really it's quite simple.
However it's no problem once you install
@testing-library/dom
.