The pin mapping for the NodeMCU is different from an Arduino Nano. I have included notes where needed in the playlist that explain how you to change your code accordingly. The NodeMCU's pins can be used for a variety of purposes and can be referred to in a couple ways. For example, the following two lines of code are equivalent (see the NodeMCU 1.0's pin map to understand why).

digitalRead(D6)

digitalRead(12)

The NodeMCU cannot provide enough current through the GPIO pins to properly light up an LED. For this reason, the LEDs on the espMouse are powered using a single IO pin and a 2N7000-G N-Channel MOSFET. Also, due to the lower voltage of the esp8266, the resistors supplying power to the LEDS are also smaller - only 47 Ohms.