Scientific publications say otherwise. It's quite hard to come by any numbers, but page 11 of https://www.wisdomlib.org/uploads/journals/mdpi-sust/2025-vo... says that typical solar inverters require about 15 MJ/kW of power for their production in total, which would amount to approx. 4 kWh per kW of inverter power. A solar panel square meter produces about 200-250 watts of peak power, so it needs inverter power that cost about 1 kWh to build. Let's triple that, because inverters have a typical lifetime of 10 years in contrast to the 30 years of solar panels. 3 kWh for the inverter is negligible when compared with 300-2000 kWh for the panel itself. So we can just ignore that.
Batteries are interesting. According to https://www.mdpi.com/2076-3298/12/1/24, it takes about 35 kWh in total to produce 1 kWh of battery capacity. Let's say we'll need 250 Wh of capacity for our 250 WPeak solar panel square meter (the rule of 1 kWh capacity for each 1 kWp is a typical estimate applied when sizing solar installations for residential homes). That makes up about 8 or 9 kWh to produce this battery capacity. Admittedly that doesn't include the raw materials, of which the cell requires quite a few expensive ones. Unfortunately I wasn't able to find a good resource on that, so I resorted to asking ChatGPT for a rough calculation, and it came up with about 140 kWh for our 250 Wh LFP cell, which doesn't sound entirely wrong, as it assumed a cell weight of 1,5 kg and splitted that up into different materials. The weight matches what I would expect from personal experience with LFP batteries.
Basically, we can just ignore the inverter and must add about 150 kWh for the battery to our 300-2000 kWh for the panel. That does not substantially impact an EROI calculated from a 1000 kWh assumption for the panel alone.
And this is a calculation based on Germany. Again: weather conditions are far from optimal for solar in Germany. It's much better in many regions in China, where solar panels are made. They can easily achieve EROIs of 20+ with solar there, which is probably the reason why China installs absolutely HUGE numbers of panels. But according to you, they must be "delusional" over there.