sometimes i just outsourced stuff to people who were not technically capable enough. even good-ish devs can have trouble with the javascript event loop / promises / etc.
outside of that, i think quality can tumble when a solo dev starts to lose interest -- i.e. burnout.