Warning: The version of DFX used (0.6.10) is different than the version being run (0.6.12)

Hi all. I’m stumbling at the beginning. DFX --version shows 0.6.12 but I get this error when trying to build.

Do I need to delete an old versions of DFX?

Check the version no written in your project’s dfx.json file, this determines the version that is run.