I uninstalled the latest winflexbison3 package and downgraded to the previous version choco install winflexbison3 --version=2.5.18.20190508 it solved my issue