Hi momift, thanks for the detailed report and the screenshot!
Your laser turret plan needs about 378 input slots. A built large factory can expand from its default 120 slots to fit the plan. When you place a ghost, Super Factory requests the same expansion and immediately tries to set filters for all 378 slots. I suspect Factorio still limits the ghost to 120 slots, which would explain why setting a filter on the 121st slot crashes. As you found, building the factory first and assigning the plan manually gets around the crash.
The battery warning looks like a separate rounding issue. The tooltip shows 12,000 batteries needed and 12,000 available, along with a tiny negative “already paid” balance. A rounding error left over from the first batch could make the next batch report a shortage even after the battery slots refill.
I’ve traced both issues in the code. The next step is to reproduce them in a fresh game and work on a fix. I'll keep you updated!