Do you have NPM and Git installed, and are they available from the path?
Aside: the library’s Git repository has been “archived”, and as some TTN SDKs have recently been “discontinued”, I guess this means it’s not going to be maintained, and will not support V3. So, I’d forget about this, and use Node-RED’s standard MQTT client nodes to access data, or the HTTP APIs for administration.
See: