nvm v0.31.2, 'nvm ls' throws an exception。

Created on 27 Jun 2016  Â·  8Comments  Â·  Source: nvm-sh/nvm

sed: invalid option -- E

bugs

All 8 comments

Thanks for the report! What OS and shell are you on? What does nvm debug output?

Thanks, will be fixed in the next release.

@ljharb
I overrided nvm.sh in the directory,and tried the nvm ls again.
The same exception sed: invalid option -- E showed.
How to solve this problem before the next release?

@TracerLee After overriding nvm.sh, you have to re-source it: . "$NVM_DIR/nvm.sh" so that it takes effect. Does that solve it?

# . nvm.sh
-bash: echo: write error: Broken pipe

# nvm ls
->       v4.4.6
         system
default -> 4.4.6 (-> v4.4.6)
node -> stable (-> v4.4.6) (default)
stable -> 4.4 (-> v4.4.6) (default)
iojs -> N/A (default)

It seems working, is it ?

I'm not sure what the "write error" is from, but yes, that seems to be working :-)

@ljharb Thank you very much~

PS: The OS is CentOS release 5.6

Was this page helpful?
0 / 5 - 0 ratings

Related issues

pixelchutes picture pixelchutes  Â·  3Comments

goalidea picture goalidea  Â·  3Comments

serbiant picture serbiant  Â·  4Comments

raitucarp picture raitucarp  Â·  3Comments

arnavb picture arnavb  Â·  3Comments