fix npm install bug in new nodejs engines