For me, the problem was that the project loaded from a WSL path. Moving the project's root to the Windows file system solved the problem.