bash: node: command not found #3435
-
|
Synology docker code-server hosted, node v12 install on synology but terminal in code-server throw error 'bash: node: command not found' when executing command node -v |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
|
Hmm... Hard to tell without more details but could it be that node is installed but not available in |
Beta Was this translation helpful? Give feedback.
-
|
Are you on Linux (Deb or Arch) or Windows? Please specify. Also, logout the current user and log back in to reflect the changes. |
Beta Was this translation helpful? Give feedback.
Are you on Linux (Deb or Arch) or Windows? Please specify.
If you are on linux, add the following entry in
.bashrcor.profilePATH=/usr/bin/node:$PATHAlso, logout the current user and log back in to reflect the changes.