node script with error