node work to add install dir if not exists