Synchronizing getting a version from NodeJS install instance