PWM Valve Controller

Showing ALL the verbose error messages is normal debugging procedure. If you had read the pinned post 'How to get the most from the Forum' you would know that. I do congratulate you on using code tags on your code however.
Does the library you are using say it is valid for that board (btw, there are other small, cheap boards available, maybe even some Arduino boards as well as the Espressif type board you chose)
What library is that (PWM.h) I can't find it.