-
-
Notifications
You must be signed in to change notification settings - Fork 8k
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
Add info to restart bash if verification not working in verification section #1749
Conversation
I think all the installation methods already mention this: export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion Right? |
Just wanted to give a reason why to restart the bash for non-experienced users instead of just saying to restart the bash for no reason. Or what do you mean? |
Actually the comment after the 2nd and 3rd line explains it? |
Do you mean the whole addition? "Note: Please note that if nvm is not outputted or with the error Or just the part When I installed nvm the verification |
For example, here is the installation message from the scripting method:
It clearly mentions to restart the terminal or run those 3 commands, right? |
Okay, I see. But the problem I see is that you provide a readme with an installation guide, so a user (I am one of them) will probably just use the instructions from the readme and will not take much note about the installation echos (I am just watching for errors and warnings in this case). In the readme within the installation section there is a header called "Verify installation" so the user will type in the command to verify if everything worked properly and, of course, Therefore I would either move the note from few lines above the "Verifiy installation" section to this section or add the stuff I added to it. The note I mean is: "Note: On Linux, after running the install script, if you get nvm: command not found or see no feedback from your terminal after you type:
simply close your current terminal, open a new terminal, and try verifying again." |
I'm not sure if we should maintain the prompt at multi places, most users of |
If adding a line in the readme will help, then it might be worth it. However, I think it's quite reasonable to assume you're reading every line in the console, since only developers would be installing node. @asab-se can you update this PR to use your amended note? |
@asab-se are you not interested in updating this? |
Oh sorry, had to clean up a bit after having had a complete mess by having different accounts. I can update this ofc if interested. Smh thought I did this a while ago actually 🙈 |
61d4a4d
to
47f0b32
Compare
Just added the info to restart the bash terminal if
command -v nvm
does not ouput anything or gives an error after installation. It was mentioned somewhere earlier but when I read it, I just took note of the verification section, not the part before where the info was mentioned.