I'm trying to run "npm run dev" in my laravel project but there is an error occured that saying: Error: Cannot find module 'webpack-cli/package.json' Require stack:
Note that the webpack cli has been downloaded.
Try running the following.
npm install -g webpack-cli
Just follow this below steps:
directory(*****\AppData\Roaming\npm-cache\_logs)npm i -g webpack-cli [Execute this command]npm install && npm run dev