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 find module 'webpack/lib/MultiEntryPlugin'

See original GitHub issue
  • “prerender-loader”: “^1.3.0”,
  • “webpack”: “^5.3.2”,
  • “webpack-cli”: “^3.3.12”,

image

when I run webpack it turn out this. I can not find webpack/lib/MultiEntryPluginin webpack5 lib. but how to fix this?

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:1
  • Comments:18

github_iconTop GitHub Comments

9reactions
dwoznickicommented, Jan 4, 2021

It looks like webpack 5 has deprecated the MultiEntryPlugin. The fix isn’t too bad, but there’s several other changes in webpack 5 that break this plugin. I have a working fork up at https://github.com/nettoolkit/prerender-loader, but I’ve only tested it for my project.

7reactions
jmbastidascommented, Nov 5, 2021

Any news on this one?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot find module 'webpack/lib/node/NodeTemplatePlugin ...
I had this problem with a React application. I tried to uninstall webpack globally and locally, also deleted the local folder node_modules , ......
Read more >
How to fix Error: cannot find module "webpack" - Educative.io
The Cannot find module webpack occurs when webpack is not globally installed. It is a problem with the npm script or application. You...
Read more >
Error Cannot find module webpack lib node ... - Edureka
Got this Error after running webpack. Webpack is installed globally and I'm running Node PS D:\Projects .
Read more >
Entry Points - webpack
Single Entry (Shorthand) Syntax. Usage: entry: string | [string]. webpack.config.js module.exports = ...
Read more >
webpack_4.30.0-9_all.deb Ubuntu 20.04 LTS Download
Description. webpack - Packs CommonJs/AMD modules for the browser ... Webpack takes code targeted at node.js and makes it run in the browser....
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