- Plesk Onyx for Linux
Node.js application is installed on the
In an attempt to install dependencies for the Node Js application in Plesk > Domains > example.com > Node.js > NPM Install, the process fails with the error:
PLESK_ERROR: make: cc: Command not found
PLESK_ERROR: make: g++: Command not found
Development tools for compiling required modules are not installed.
Log into the server via SSH.
Install development tools by executing the command:
For Debian based systems (Ubuntu/Debian):
# apt-get install build-essential
For RHEL based systems (CentOS/CloudLinux):
# yum groupinstall "Development Tools"
- Log into Plesk.
Install dependencies for Node Js application by pressing the NPM install button in Domains > example.com > Node.js.