sed: invalid option -- E
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