Skip to content
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

nvm may not be pathed properly? #12

Closed
matthewharwood opened this issue Aug 21, 2015 · 1 comment
Closed

nvm may not be pathed properly? #12

matthewharwood opened this issue Aug 21, 2015 · 1 comment

Comments

@matthewharwood
Copy link

This maybe an isolated issue. I just recieved a new computer from a new job (mac).
Everything worked beautifully except node wasnt installing properly due to nvm not being linked properly in .bash.local. I got around this by replacing your script like so

# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

# Node Version Manager

#export NVM_DIR=""
#[ -f "$NVM_DIR/nvm.sh" ] \
#    && source "$NVM_DIR/nvm.sh"
#commented out above and just added the default nvm suggestion of:
. ~/.nvm/nvm.sh

I'm a nerb; this is prob a weird setting on the work settings.
After I added .!/.nvm/nvm.sh everything worked as expected.

I haven't noticed any other problems; however, in .bash_profile theres:

[ -f "$NVM_DIR/bash_completion" ] \
        && source $NVM_DIR/bash_completion

Which I dunno what it does but it would be missing if I guessed.

@alrra alrra changed the title nvm may not be pathed properly? nvm may not be pathed properly? Aug 22, 2015
@alrra
Copy link
Owner

alrra commented Aug 22, 2015

#export NVM_DIR=""

@matthewharwood I've fixed this issue recently, but forgot to push the corresponding change to GitHub.

@alrra alrra closed this as completed Aug 22, 2015
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

No branches or pull requests

2 participants