Skip to main content

Node.js Selector on CloudLinux

Comments

7 comments

  • Tarak Nath
    Hello, We have noticed 'node' and 'npm' command only working when we run the below command: source /home/username/nodevenv/public_html/nodejs/10/bin/activate
    But its not working once terminal closed. Regards, Tarak Nath
    0
  • cPanelMichael
    Hello, For anyone else reading this thread, keep in mind the CloudLinux Node.JS Selector feature is independent of of cPanel's Node.JS implementation. CloudLinux provides their own NodeJS RPM as part of their own EasyApache 4 YUM repo. cPanel & WHM documents such as Node.js Selector | Documentation @Tarak Nath, the CloudLinux documentation states the following: [QUOTE] After activation user can use npm and node from a virtual environment without full paths.
    If you have confirmed you are logged in via SSH as the account username and not root, then I recommend contacting CloudLinux directly to report the issue: CloudLinux Thank you.
    0
  • Tarak Nath
    Thank you for the update. Is there any plan in cPanel/WHM to test it for CloudLinux environment? Regards, Tarak Nath
    0
  • cPanelMichael
    Hello @Tarak Nath, CloudLinux has yet to publish the most recent ea-ruby24-mod_passenger RPM to their EasyApache 4 YUM repo. I recommend using Node.JS Selector if you're using CloudLinux for the time being. Thank you.
    0
  • cPanelMichael
    Hello, To update, CloudLinux is planning to publish an updated ea-ruby24-mod_passenger RPM to their EasyApache 4 YUM repo next week. I'll update this thread once it's published. Thank you.
    0
  • Tarak Nath
    That's really good news for us. We are awaiting for the same.
    0
  • cPanelMichael
    Hello @Tarak Nath, CloudLinux published the updated RPM to their beta YUM repo. If you have a non-production machine that you'd like to test this on, you can execute the following command to replace the existing RPMs with the beta RPMs: yum update ea-ruby24-mod_passenger* --enablerepo=cl-ea4-testing
    To know when the update is published to the production repos, follow the CloudLinux blog for updates. Thank you.
    0

Please sign in to leave a comment.