I've a macbook pro with M1 chipset, I'm testing a Laravel web-app with Sanctum Api authentication.
First I send a GET requesto to /sanctum/csrf-cookie
to get the cookies, then I send a POST request to the /login
endpoint I get the following error:
Illuminate\Database\QueryException: could not find driver (SQL: select * from "users" where "email"
I wonder what is the problem. Anyone can help me? Thank you for any reply.