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

Can’t get it running with webpack 4.44.2

[webpack-cli] TypeError: Cannot read property 'tap' of undefined
    at FaviconsWebpackPlugin.apply (/Users/federicovitale/Developer/Chili/chili-website/node_modules/favicons-webpack-plugin/src/index.js:36:31)
    at webpack (/Users/federicovitale/Developer/Chili/chili-website/node_modules/webpack/lib/webpack.js:51:13)
    at WebpackCLI.createCompiler (/Users/federicovitale/Developer/Chili/chili-website/node_modules/webpack-cli/lib/webpack-cli.js:1165:24)
    at async Command.<anonymous> (/Users/federicovitale/Developer/Chili/chili-website/node_modules/@webpack-cli/serve/lib/index.js:65:30)
    at async Promise.all (index 1)
    at async Command.<anonymous> (/Users/federicovitale/Developer/Chili/chili-website/node_modules/webpack-cli/lib/webpack-cli.js:708:13)
error Command failed with exit code 2.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

4reactions
jantimoncommented, Feb 20, 2021

There is a compatibility section in the readme 😃

0reactions
Drifterdnlcommented, May 3, 2021

Same error here. Compatibility section doesn’t mention webpack version. Changelog also doesn’t mention dropping support for webpack v4. Am I missing something here @jantimon?

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 >
Cannot read property 'tap' of undefined at HtmlWebpackPlugin ...
【Webpack】TypeError : Cannot read property 'tap' of undefined at HtmlWebpackPlugin.
Read more >
Webpack: Cannot read property 'tap' of undefined-Reactjs
[Solved]-React- Webpack: Cannot read property 'tap' of undefined-Reactjs ... I had the same exact problem. You have to add @babel/preset-react library to your ......
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