Add debugging checks for node and npm existence.