fixed npm packages installation and dotfiles installation