Its pointless to post code because I've tried many variations and ended up with same results.
Whenever I flash esp8266 module everything works flawlessly. When I upload same sketch into NodeMCU AP goes very glitchy, e.g. it drops connection, wont allow me to connect and whenever I manage to finally connect it sends cropped data to browser. I choose correct board type,. however I tried different boards and settings but nothing helps. I tried to power up it from separate lab PSU = same problems.
Probably there's something needs to be done which Im missing? Or its simply a faulty chip?
Thanks in advance!