Leaf was ugly af and prone to mocking by Tesla fanboys. Nissan exec couldn't understand that such a thing can steer customers away from a car and kill a brand. That was partically fixed that by ZE1 Leaf but it was too late. Meanwhile Toyota's Lamborghini-styled ZVW60 Prius that followed it was soon enough and good enough that it solved the same issue for Prius.
The most obvious is that it was ugly as hell. Before Tesla showed that a normal looking EV could sell well, manufacturers seemed to think they needed an EV to look like an EV, which somehow meant looking weird. This was wrong but it took Nissan a very long time to figure that out.
They had terrible range. This was understandable, maybe unavoidable, in the early days, but they didn’t keep up. Their longer range trim had barely 200 miles of range in 2024!
And then they had terrible technology around the battery. They were still using air cooling until 2025. This severely limited charging speeds (if charging efficiency is 95%, then 100kW charging has to reject 5kW of heat which does not come easily!) and, worse, made the battery degrade much faster. This actually damaged not just the Leaf but the entire industry. It was the most common EV for years and a whole lot of people learned that an EV battery is only good for a few years before the range tanks and you need an expensive replacement. This is not generally true, but it was often true of the Leaf.