after install node.js selector -node -v -bash: node: command not found

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • elearnnow1
    Junior Member
    • Feb 2021
    • 9

    #1

    after install node.js selector -node -v -bash: node: command not found

    Hello, I installed the node.js selector and I can run the node application via Cpanel dashboard but when trying to use npx, npm, or checking the version I get ...
    6131 alt-nodejs12]# node -v
    -bash: node: command not found,


    Thank u
  • bogdan.sh
    Administrator
    • Nov 2016
    • 1221

    #2
    Hi,

    Hae you followed the https://docs.cloudlinux.com/cloudlin...de-js-selector installation instructions? Do you have the alt-nodejs packages installed there? Please show the output of :

    Code:
    rpm -qa | grep alt-nodejs | sort
    Please also mace sure you entering a virtual environment properly as a user, more: https://cloudlinux.zendesk.com/hc/en...al-environment

    Comment

    Working...