minamarkham / formation

💻 macOS setup script for front-end development
http://slay.sh
MIT License
1.77k stars 173 forks source link

NVM install errors on new machine #7

Open heathflohre opened 5 years ago

heathflohre commented 5 years ago

Thank you so much for putting this together! I was wondering if this is safe for running on a fresh machine. First, always skips the NVM install, thinking it's already installed. If I switch the check to mimic the MAS install (placing the skip message after the if statement and moving the install steps after the else statement), it works. Also, should regular dotfiles like .bash_profile be created or cloned and synced first? When this is run on a fresh machine, the NVM install step errors when trying to add the path.

chrisrowe commented 5 years ago

+1 I'm also seeing this

minamarkham commented 5 years ago

Hi @heathflohre & @chrisrowe! Sorry for the ridiculous delay in getting back to you. If you're still experiencing this problem, can you please send me the logs after running sh slay 2>&1 | tee ~/slay.log?