Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Webpack-cli - Error on start with node 14 #27

Closed
Gaetanbrl opened this issue Jul 28, 2022 · 1 comment
Closed

Webpack-cli - Error on start with node 14 #27

Gaetanbrl opened this issue Jul 28, 2022 · 1 comment

Comments

@Gaetanbrl
Copy link
Contributor

Gaetanbrl commented Jul 28, 2022

Hi,

Versions

Node v14.16.1
Npm 6.14.12

issue

Npm start return webpack-cli error :

1% setup initialize[webpack-cli] TypeError: cli.isMultipleCompiler is not a function
1 --hot --inline --content-base .`

This seems to come from webpack-cli and webpack packages version in master branch :

"webpack": "5.9.0",
"webpack-bundle-size-analyzer": "2.0.2",
"webpack-cli": "4.9.0",

$ webpack --version
webpack: 5.9.0
webpack-cli: 4.9.0       
webpack-dev-server 3.11.0

After upgrade webpack-cli all work fine :

npm install [email protected]

@landryb
Copy link

landryb commented Aug 12, 2022

Fwiw, was experiencing the same issue with node v12.22.12 when trying npm start on https://github.com/georchestra/mapstore2-cadastrapp, changing webpack-cli to 4.10.0 and running npm install fixed it.

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

No branches or pull requests

2 participants