New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot read property 'tap' of undefined in ts-loader #14157
Comments
I'm having the same issue. After upgrading webpack to v5 when I build-storybook or start-storybook, ts-loader module build fails and I get Cannot read property 'tap' of undefined
I did change my storybook webpack.config.ts to use Do you have any thought of what could cause this? |
@marjisound The error seems to have included ts-loader in webpack.config.js. In my case, the storybook used config.moodle.rules.push to remove the ts-loader. Storybooks seem to use webpack4 internally. Lower the webpack 5 version or remove the ts-loader from the storybook defendancy. |
closing as dupe to #14170 which has a repro |
Describe the bug
To Reproduce
webpack.config.js
.storybook/main.js
Error
Work
Expected behavior
Do works without TypeError.
System
package.json
The text was updated successfully, but these errors were encountered: