glook / webpack-typescript-react

Webpack 5 boilerplate with support of most common loaders and modules (see tags and description)
MIT License
217 stars 54 forks source link

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

Open zourdyzou opened 2 years ago

zourdyzou commented 2 years ago

Screenshot 2022-06-29 at 05 07 55

I will fix it ASAP.

eugbyte commented 1 year ago

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)