I flashed always my NodeMCU modules with the tool from ESP Basic. There rhe GPIO10 is
not working.
In the flash program from electrodragon you can flash in DIO mode to activate the extra pins.
I agree with you, if you need more IO, the best is to use IO-expander with IIC interface.