Reputation: 87
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.
Upvotes: 5
Views: 6809
Reputation: 39
Just follow this below steps:
directory(*****\AppData\Roaming\npm-cache\_logs)
npm i -g webpack-cli
[Execute this command]npm install && npm run dev
Upvotes: 0