question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot Read Property Tap Of Undefined

See original GitHub issue

Bug 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

  1. Install docz package
  2. Run yarn docz:dev which is === docz dev
  3. 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:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
Quadriphobs1commented, Dec 17, 2018

Finally fixed it by updating react-apollo@2.1.0-beta.3

1reaction
Protectatorcommented, Jan 9, 2019

What does react-apollo have to do with docz ? I’m getting exactly this TypeError: Cannot read property 'tap' of undefined error on my project and am not using react-apollo at all.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found