Issue #2

0 up
0 down
Closed
govbr/barra-govbr#2
Created by idg serpro (Edited )

Erro no Vagrantfile: "nvm: command not found"

==> default: Cloning into '$HOME/.nvm'...
==> default: * (detached from v0.33.0)
==> default:   master
==> default: => Compressing and cleaning up git repository
==> default: => Appending nvm source string to /home/vagrant/.bashrc
==> default: => bash_completion source string already in /home/vagrant/.bashrc
==> default: => Close and reopen your terminal to start using nvm or run the following to use it now:
==> default: 
==> default: export NVM_DIR="$HOME/.nvm"
==> default: [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"  # This loads nvm
==> default: + export NVM_DIR=/home/vagrant/.nvm
==> default: + NVM_DIR=/home/vagrant/.nvm
==> default: + '[' -s /home/vagrant/.nvm/nvm.sh ']'
==> default: + nvm install iojs
==> default: /tmp/vagrant-shell: line 15: nvm: command not found
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.

Alterando o comando

wget -qO- https://raw.github.com/creationix/nvm/master/install.sh | sh

para

wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.33.0/install.sh | bash (essa é a linha hoje recomendada no README do pacote)

passa a funcionar. Não fizemos pull request porque não sei se precisa de mais alguma alteração e portanto achamos mais interessante quem é familiarizado com o pacote fazê-lo.

Assignee: None
Milestone: None
2 participants