I do not understand why the issue of ESPIDF version mismatch arises.
You might want to have a look at: