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.

[webpack-cli] TypeError: cli.isMultipleCompiler is not a function

See original GitHub issue

I’m getting TypeError: cli.isMultipleCompiler is not a function when running an app via docker. The node modules are installed, I’m using

"webpack": "5.72.1",
"webpack-cli": "4.9.2",
"webpack-dev-server": "4.8.0"

Any ideas what could be causing it?

Here’s the full error

[webpack-cli] TypeError: cli.isMultipleCompiler is not a function
shared             |     at Command.<anonymous> (/app/node_modules/@webpack-cli/serve/lib/index.js:146:35)
shared             |     at async Promise.all (index 1)
shared             |     at async Command.<anonymous> (/app/node_modules/webpack-cli/lib/webpack-cli.js:1674:7)

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:13 (3 by maintainers)

github_iconTop GitHub Comments

21reactions
snitin315commented, Jun 14, 2022

Please upgrade to the latest version of webpack-cli that is 4.10.0

16reactions
snitin315commented, Jun 14, 2022

Duplicate of https://github.com/webpack/webpack-cli/issues/3294, fix is-

   "webpack": "5.72.1",
-  "webpack-cli": "4.9.2",
+  "webpack-cli": "4.10.0", 
   "webpack-dev-server": "4.8.0"
Read more comments on GitHub >

github_iconTop Results From Across the Web

How to solve [webpack-cli] TypeError: cli.isMultipleCompiler is ...
I had a similar error trying to run a Jhipster app, the error is: [webpack-cli] TypeError: cli.isMultipleCompiler is not a function at ...
Read more >
Can't run sample app [webpack-cli] TypeError
Can't run sample app [webpack-cli] TypeError: cli.isMultipleCompiler is not a function ... Hi, I am on Mac books and I am just trying...
Read more >
browserDevelopmentRun task fails with webpack-cli type error
[webpack-cli] TypeError: cli.isMultipleCompiler is not a function [webpack-cli] TypeError: cli.isMultipleCompiler is not a function at Command.
Read more >
I m getting this when starting up the frontend webpack cli T
I m getting this when starting up the frontend webpack cli TypeError cli isMultipleCompiler is not a function Any insights.
Read more >
[Solved]-Kotlin multiplatform gradle task "jsRun" gives error ...
... for the question Kotlin multiplatform gradle task "jsRun" gives error "[webpack-cli] TypeError: cli.isMultipleCompiler is not a function"-kotlin.
Read more >

github_iconTop Related Medium Post

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