UseSqlite with Entity Framework Core in ASP.NET Core 2.1 not working
It’s seems that you have not installed Microsoft.EntityFrameworkCore.Sqlite to the project.
I also had same issue but after installing package Install-Package Microsoft.EntityFrameworkCore.Sqlite -Version 2.1.1