well, for me I uninstalled recently installed package and then retried it should work 95% of the times.
once build is successful reinstall the packages with right versions. this should solve the issue
all the best