Thank you for the update.
We have also configured NodeJS in our dedicated server using Node.js selector with the help of resource Node.js Selector | Documentation as we are using CloudLinux7.6. We have also configured a sample NodeJS chat application from github.com/socketio/chat-example']socketio/chat-example which is working fine.
But we are unable to execute the command 'node' or 'npm' via root terminal or cPanel terminal.
Bellow is the output of root terminal:
And below is the output of cPanel user terminal:
Any suggestion would be appreciated.
Thanks,
Tarak Nath
We have also configured NodeJS in our dedicated server using Node.js selector with the help of resource Node.js Selector | Documentation as we are using CloudLinux7.6. We have also configured a sample NodeJS chat application from github.com/socketio/chat-example']socketio/chat-example which is working fine.
But we are unable to execute the command 'node' or 'npm' via root terminal or cPanel terminal.
Bellow is the output of root terminal:
Code:
[email protected] [~]# which node
[email protected] [~]# which npm
[email protected] [~]# node --version
-bash: node: command not found
[email protected] [~]# npm --version
-bash: npm: command not found
[email protected] [~]#
Code:
[email protected] [~]# node --version
bash: node: command not found
[email protected] [~]# npm --version
bash: npm: command not found
Thanks,
Tarak Nath
Last edited by a moderator: