Laravel, NPM: Command “mix” not found

I tried many solutions but only this worked for me:

First, update your laravel-mix

npm install laravel-mix@latest

Then do a clean npm install:

npm clean-install

that should fix the laravel 8 mix error.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)