镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

node command not found in bash #205

Description

@Luigisa

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions