I just finished tagging all my components, and I am now trying to export them.
I am getting this error, how do I even debug this?

Please try to use the --all-versions flag with the export command.
does the issue reproduces?
yes, it seems to export correctly with the --all-versions flag. Nice catch.
I am guessing this has something to do with newly tracked components.
I think we should keep this issue open as a _bug_? Bit should recognise these edge cases.
Might need @davidfirst on this one...
I think @davidfirst already did something about it a few days ago. is it correct @davidfirst ?
@GiladShoham , @itaymendel , yes, I fixed this issue recently. It's part of the latest dev release.
@davidfirst lets refers to the pr and close this
This is the PR: https://github.com/teambit/bit/pull/2466 I hope it fixed this issue as well. Closing.