laravellaravel-mixworkboxworkbox-webpack-plugin

Cannot run 'npm run dev' after install laravel-mix-workbox


I got an error when running 'npm run dev' after installing laravel-mix-workbox.

Here's the error

enter image description here

[webpack-cli] Error: Cannot find module 'D:\Documents\Tolong Ya Allah\Digitani\node_modules\growly\lib\growly.js'. Please verify that the package.json has a valid "main" entry

What should I do?


Solution

  • run and rebuild

    npm i growly --save