You need to have the AT command set firmware (and in the right location) to use the ESP as a WiFi adapter via a serial connection. AFAIK the NodeMCU and the AT command set are mutually exclusive. No problem: just reflash the ESP01. Read this thread for the details.
RD7