dotly icon indicating copy to clipboard operation
dotly copied to clipboard

node command not found in bash

Open Luigisa opened this issue 3 years ago • 0 comments

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.

Luigisa avatar Mar 06 '22 18:03 Luigisa