• Thanks for you response
    Here process.env response:

    >process.env
    ={
      "VERSION": "1v99",
      "GIT_COMMIT": "f0d66ba",
      "BOARD": "ESP8266_4MB",
      "FLASH": 0, "RAM": 81920,
      "SERIAL": "dc4f2219-9b31",
      "CONSOLE": "Telnet",
      "MODULES": "Flash,Storage,net" ... "r,crypto,neopixel",
      "EXPTR": 1073643636 }
    > 
    

    and nothing happen in console when I typed and uploaded code which is provided by you.
    Here is my connection to NodeMCU

    TTL 5V-----------------------------------Nod­eMCU 5V (VCC IN)
    TTL RX-----------LEVEL SHIFTER----------NodeMCU TX
    TTL TX-----------LEVEL SHIFTER----------NodeMCU RX
    TTL GND---------------------------------Node­MCU GND

    I found somewhere that NodeMCU works without level shifting on RX/TX. So, I tried without level shifter with another NodeMCU and 2 TTL
    All are components are working fine and I think no component is damaged.
    But can't figured out what is the problem.

About

Avatar for user94070 @user94070 started