after upgrading laravel mix to "laravel-mix": "^6.0.9", npm run dev no longer works. Here is the error that get's printed:
[webpack-cli] TypeError: Promise.allSettled is not a function
at Dispatcher.fire (C:\laragon\www\nigeriaschoolsinfo\node_modules\laravel-mix\src\Dispatcher.js:34:24)
at Mix.dispatch (C:\laragon\www\nigeriaschoolsinfo\node_modules\laravel-mix\src\Mix.js:108:32)
at module.exports (C:\laragon\www\nigeriaschoolsinfo\node_modules\laravel-mix\setup\webpack.config.js:5:15)
at C:\laragon\www\nigeriaschoolsinfo\node_modules\webpack-cli\lib\webpack-cli.js:792:43
at Array.map (<anonymous>)
at evaluateConfig (C:\laragon\www\nigeriaschoolsinfo\node_modules\webpack-cli\lib\webpack-cli.js:784:24)
at C:\laragon\www\nigeriaschoolsinfo\node_modules\webpack-cli\lib\webpack-cli.js:825:28
at async Promise.all (index 0)
at async WebpackCLI.resolveConfig (C:\laragon\www\nigeriaschoolsinfo\node_modules\webpack-cli\lib\webpack-cli.js:814:38)
at async WebpackCLI.createCompiler (C:\laragon\www\nigeriaschoolsinfo\node_modules\webpack-cli\lib\webpack-cli.js:1157:22)
My mentor will always say "Success Read the docs, read the docs" But I always find myself battling with the problem then after wasting 3-4 hours I go back to read the docs.