Skip to content

Webpack bundling error caused by webpack-cli versioning. #21

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
zourdyzou opened this issue Jun 29, 2022 · 2 comments
Open

Webpack bundling error caused by webpack-cli versioning. #21

zourdyzou opened this issue Jun 29, 2022 · 2 comments

Comments

@zourdyzou
Copy link

Screenshot 2022-06-29 at 05 07 55

I will fix it ASAP.

@eugbyte
Copy link

eugbyte commented Aug 28, 2022

Facing the same issue

$ npm run start
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.

> webpack-typescript-react@1.0.7 start
> cross-env WEBPACK_IS_DEV_SERVER=true NODE_ENV=development webpack serve --config webpack.config.babel.js

[webpack-cli] TypeError: cli.isMultipleCompiler is not a function
    at Command.<anonymous> (C:\Users\eugen\Codes\personal\sample-project\node_modules\@webpack-cli\serve\lib\index.js:146:35)
    at async Promise.all (index 1)
    at Command.<anonymous> (C:\Users\eugen\Codes\personal\sample-project\node_modules\webpack-cli\lib\webpack-cli.js:1674:7)

@OliverDavey
Copy link

This can be fixed by updating the required version in package.json to "~4.10.0"

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants