How to fix packaging errors after cloning a project?

Next time just delete Intermediate folder at all