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

node command not found in bash #205

Open
Luigisa opened this issue Mar 6, 2022 · 0 comments
Open

node command not found in bash #205

Luigisa opened this issue Mar 6, 2022 · 0 comments

Comments

@Luigisa
Copy link

Luigisa commented Mar 6, 2022

Hello,

FYI

I'm having a problem with the "node" command and dotly + bash

I have found that if I comment out the following lines in the .bashrc file, it does find the node command, installed with nvm.

 PATH=$(
 IFS=":"
 echo "${path[*]}"
 )
 export PATH

In my exports.sh file I do have the following lines:

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

I don't know what the purpose of the lines I've commented out is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant