I know. Unfortunately, it’s random. Just an FYI that this happens. Maybe there’s some check that times out or gets a truthy/falsey answer that needs === instead of ==
This happens to me as well and has been happening to me for over a year. It usually doesn’t happen until I’ve been developing for a few hours with the site running and then randomly it will stop allowing me to push to staging or production with the same error noted above. I’m running my own local environment (Postcss, Livereload Server) and the Local App. I’m on the latest Mac version 12.0.1 and Local version (6.2.1+5711). Attached are my logs and screen shot. I filed a ticket to Flywheel and they sent me to this post.
I also get this sometimes. I usually don’t have to restart the site, but I just click on another one of my sites in the list, then click back on the site that’s doing it. That usually fixes it.
I also just got this error. I had rebooted both Local itself and the local site and still was getting this message. The “trick” of clicking on another site and then back to the one I was trying to work with appears to have “fixed” this particular issue, at least temporarily.