This could be due to
a) wrong pins used (NodeMCU has different notation)
GPIO0 --> D3 GPIO2 --> D4
b) bad i2c implementation
there were issues with AM2321 too, see here:
viewtopic.php?f=32&t=4483&p=26342#p26342
c) other problems e.g. i2c speed, try i2c-scanner