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

Problem uninstalling specific node version #1228

Closed
dw72 opened this issue Sep 16, 2016 · 8 comments
Closed

Problem uninstalling specific node version #1228

dw72 opened this issue Sep 16, 2016 · 8 comments
Assignees
Labels
bugs Oh no, something's broken :-( installing node Issues with installing node/io.js versions. shell: zsh

Comments

@dw72
Copy link

dw72 commented Sep 16, 2016

I installed node v6.6.0 and want to uninstall older one v.6.5.0 but have problem:

~> nvm uninstall v6.5.0
nvm_check_file_permissions:1: no matches found: ~/.nvm/versions/node/v6.5.0/.[!.]*
@ljharb
Copy link
Member

ljharb commented Sep 16, 2016

hm - what's the output of nvm debug, and what are the contents of ~/.nvm/versions/node/v6.5.0/?

@ljharb ljharb added the needs followup We need some info or action from whoever filed this issue/PR. label Sep 16, 2016
@dw72
Copy link
Author

dw72 commented Sep 17, 2016

nvm debug:

~> nvm debug
nvm --version: v0.32.0
$SHELL: /bin/zsh
$HOME: /home/milley
$NVM_DIR: '$HOME/.nvm'
$PREFIX: ''
$NPM_CONFIG_PREFIX: ''
nvm current: v6.6.0
which node: $NVM_DIR/versions/node/v6.6.0/bin/node
which iojs: iojs not found
which npm: $NVM_DIR/versions/node/v6.6.0/bin/npm
npm config get prefix: $NVM_DIR/versions/node/v6.6.0
npm root -g: $NVM_DIR/versions/node/v6.6.0/lib/node_modules

and content of the v6.5.0:

~> ls -la ~/.nvm/versions/node/v6.5.0
razem 136
drwxr-xr-x 1 milley users    98 09-04 17:57 .
drwxr-xr-x 1 milley users    36 09-16 09:17 ..
drwxr-xr-x 1 milley users    44 09-04 17:58 bin
-rw-r--r-- 1 milley users 54900 08-26 17:17 CHANGELOG.md
drwxr-xr-x 1 milley users     0 09-04 17:57 etc
drwxr-xr-x 1 milley users     8 08-26 17:17 include
drwxr-xr-x 1 milley users    24 08-26 17:16 lib
-rw-r--r-- 1 milley users 60477 08-26 17:17 LICENSE
-rw-r--r-- 1 milley users 16942 08-26 17:17 README.md
drwxr-xr-x 1 milley users    30 08-26 17:16 share

If you need something more please write :)

@ljharb ljharb self-assigned this Sep 17, 2016
@ljharb
Copy link
Member

ljharb commented Sep 17, 2016

Since you're using zsh, what's the output of setopt? Are you using oh-my-zsh?

@dw72
Copy link
Author

dw72 commented Sep 19, 2016

Yes I use zsh, and some plugins of oh-my-zsh with zplug... my zsh config is here:
https://github.com/dw72/dotfiles/tree/master/zsh

There is setopt output:

~> setopt
autocd
autopushd
nobgnice
completealiases
extendedhistory
histignorealldups
histreduceblanks
histverify
nohup
incappendhistory
interactive
nolistbeep
localoptions
localtraps
promptsubst
pushdignoredups
pushdminus
sharehistory
shinstdin
zle

@ljharb
Copy link
Member

ljharb commented Sep 19, 2016

My stock zsh setopt is:

combiningchars
interactive
monitor
nonomatch
shinstdin
zle

It would help if you could help figure out which zsh option(s) is causing the issue, by disabling the first half, then the second half, then the middle half. :-)

@dw72
Copy link
Author

dw72 commented Sep 19, 2016

Ok I do this when i return home next week...

@ljharb ljharb closed this as completed Sep 20, 2016
@ljharb ljharb added non-issue / invalid This isn't relevant to nvm, or turned out to be something unrelated. and removed needs followup We need some info or action from whoever filed this issue/PR. labels Sep 20, 2016
@ljharb ljharb reopened this Sep 20, 2016
@ljharb ljharb added needs followup We need some info or action from whoever filed this issue/PR. and removed non-issue / invalid This isn't relevant to nvm, or turned out to be something unrelated. labels Sep 20, 2016
@dw72
Copy link
Author

dw72 commented Sep 26, 2016

After setting nonomatch uninstall is working ok. Now I have:

autocd
autopushd
nobgnice
completealiases
extendedhistory
histignorealldups
histreduceblanks
histverify
nohup
incappendhistory
interactive
nolistbeep
localoptions
localtraps
nonomatch
promptsubst
pushdignoredups
pushdminus
sharehistory
shinstdin
zle

@ljharb ljharb changed the title Prolem uninstall specific node version Problem uninstalling specific node version Oct 4, 2016
@ljharb ljharb added installing node Issues with installing node/io.js versions. and removed needs followup We need some info or action from whoever filed this issue/PR. labels Oct 4, 2016
@ljharb
Copy link
Member

ljharb commented Oct 4, 2016

Thanks, that helps a ton! Fix incoming.

@ljharb ljharb added shell: zsh bugs Oh no, something's broken :-( labels Oct 4, 2016
@ljharb ljharb closed this as completed in f9e14b7 Oct 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugs Oh no, something's broken :-( installing node Issues with installing node/io.js versions. shell: zsh
Projects
None yet
Development

No branches or pull requests

2 participants