Only install node and npm when required