-
Notifications
You must be signed in to change notification settings - Fork 50
Open
Description
Description
When trying to start the development server for the app with yarn start, the following error occurs (see screenshot):
[webpack-cli] Unable to load '@webpack-cli/serve' command
[webpack-cli] TypeError: options.forEach is not a function
Steps to reproduce
- install the dependencies for the first time with
yarn - now if yarn start the dev server starts normally
- delete node_modules and yarn.lock
- install again the dependencies with 'yarn'
- if now we try to start the server, we get the error
Possible solution
This is probably related to this:
webpack/webpack-cli#2990
I bumped the webpack-cli from 4.6.0 to 4.9.0 and the error did not appear anymore.
Screenshot
Metadata
Metadata
Assignees
Labels
No labels
