change current directory for npmInstall.