Cannot Read Property Tap Of Undefined
See original GitHub issueBug Report
Describe the bug
I am trying out the package with a nextjs project, this is a project which has express with next js with it. It was an ongoing project which has been working for long, and we decided to try out the docz to document the components.
To Reproduce
- Install docz package
- Run
yarn docz:dev
which is=== docz dev
- TypeError: Cannot read property ‘tap’ of undefined during compilation
compilation.hooks.addEntry.tap("ProgressPlugin", entryAdd);
^
TypeError: Cannot read property 'tap' of undefined
Expected behavior Since the build command runs successfully, it should also run as expected.
A clear and concise description of what you expected to happen… Start the doc server locally
Environment
- OS: [e.g. OSX 10.13.4]
- Node/npm version: [e.g. Node 10/npm 6]
Additional context/Screenshots Add any other context about the problem here. If applicable, add screenshots to help explain.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:6 (1 by maintainers)
Top Results From Across the Web
TypeError: Cannot read property 'tap' of undefined #5781
I need to install webpack for react-styleguidist, but it seems if the version doesn't match the one Next is using this error occurs....
Read more >ProgressPlugin TypeError: Cannot read property 'tap' of ...
In my case the error was that I put a plugin under resolve.plugins , instead of directly in plugins inside the webpack config....
Read more >Cannot read property 'tap' of undefined in ts-loader #14157
Describe the bug. Module build failed (from ./node_modules/ts-loader/index.js): TypeError: Cannot read property 'tap' of undefined. To Reproduce ...
Read more >TypeError: Cannot read property 'tap' of undefined - 掘金
执行打包操作时报错;原因:html-webpack-plugin 插件版本安装不兼容解决方法: 安装html-webpack-plugin 版本为4.5.0.
Read more >Webpack: Cannot read property 'tap' of undefined-Reactjs
I had the same exact problem. You have to add @babel/preset-react library to your package.json file. Run yarn yarn add @babel/preset-react or npm...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Finally fixed it by updating
react-apollo@2.1.0-beta.3
What does
react-apollo
have to do with docz ? I’m getting exactly thisTypeError: Cannot read property 'tap' of undefined
error on my project and am not usingreact-apollo
at all.