Fix #4199: Make npm script handle not living with node