Skip to content

Fix "~/.nvm/nvm.sh: No such file ..." error on travis #22

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 26, 2016

Conversation

zetavg
Copy link
Contributor

@zetavg zetavg commented Apr 26, 2016

It seems like nvm is installed in the wrong path ('/usr/local/opt/nvm') in some of the builds. This PR moves

export NVM_DIR=~/.nvm

to set the correct NVM directory before installing

which nvm || curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.29.0/install.sh | bash

to fix this.

Ref: https://github.com/creationix/nvm#install-script

@bleonard bleonard merged commit 18a1e3f into taskrabbit:master Apr 26, 2016
@bleonard
Copy link
Contributor

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants