Cut the peppers into strips. Drain and drain the beans. Chop the tomatoes.
For the parmesan, roast the pine nuts in a small pan and let them cool. Coarsely grind together with the yeast flakes in a blender.
Heat the vegetable oil in a pan and fry the gnocchi for 10 minutes until they are golden brown. Season with salt, pepper and the chilli flakes. Add the peppers and cook for 3 minutes. Stir in tomatoes, beans and spinach and fry until the spinach collapses.