Open CharidimosTzedakis opened 2 years ago
When trying to start the development server for the app with yarn start, the following error occurs (see screenshot):
yarn start
[webpack-cli] Unable to load '@webpack-cli/serve' command [webpack-cli] TypeError: options.forEach is not a function
yarn
This is probably related to this: https://github.com/webpack/webpack-cli/issues/2990
I bumped the webpack-cli from 4.6.0 to 4.9.0 and the error did not appear anymore.
webpack-cli
4.6.0
4.9.0
Description
When trying to start the development server for the app with
yarn start
, the following error occurs (see screenshot):Steps to reproduce
yarn
Possible solution
This is probably related to this: https://github.com/webpack/webpack-cli/issues/2990
I bumped the
webpack-cli
from4.6.0
to4.9.0
and the error did not appear anymore.Screenshot