Skip to content

Conversation

jonizen
Copy link
Contributor

@jonizen jonizen commented Jan 4, 2021

Hi!

Nice work, I tried it out and it gives me an error when running npm run start with the latest node and npm version (15.5.0) after looking at the error message (node:50249) UnhandledPromiseRejectionWarning: TypeError: Class constructor ServeCommand cannot be invoked without 'new' I looked at the webpack-cli repo and found Error when run npm start: Class constructor ServeCommand cannot be invoked without 'new': which have reported the error.

In short, the order needs to be: Syntax - webpack [command] [options] and the latest webpack needs to be 4.3.1.

Cheers!

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

Successfully merging this pull request may close these issues.

2 participants