Re:Node v6.9.0 (LTS)
by drinchev on Tuesday October 18, 2016 @04:19PM
(#12738273)
I haven't commented out any lines.
Anyway I think the problem is that it is trying to install nvm, which I already have. Not sure I want to delete my .nvm, since I'm going to loose all my node installs
[ Parent
| on HN ]
Re:Node v6.9.0 (LTS)
by lukechilds on Tuesday October 18, 2016 @04:40PM
(#12738461)
Ahhh, zsh-nvm requires that nvm has been installed via git.
Although it shouldn't be trying to install over your previous installation, it checks if nvm exists first with `[[ ! -f "$NVM_DIR/nvm.sh" ]]`.
Out of interest what does: `[[ ! -f "$NVM_DIR/nvm.sh" ]] && echo "nvm doesn't exist" || echo "nvm exists"` return?
If you wanna try it out you could backup your "$NVM_DIR/versions" folder and restore it. That holds all your node installs and global modules.
λ ~ ◆ [[ ! -f "$NVM_DIR/nvm.sh" ]] && echo "nvm doesn't exist" || echo "nvm exists"
nvm doesn't exist
λ ~ ◆
Yeah, but tomorrow I'm GMT+2 :D
Re:Node v6.9.0 (LTS)
by lukechilds on Tuesday October 18, 2016 @04:49PM
(#12738559)
Strange...
Is it a symlink or something? Does `ls "$NVM_DIR"` list nvm.sh anywhere?
No :(
I've opened an issue, because I think we're polluting HN