The following or similar error occurs for the installation of Node.js application dependencies:
PLESK_ERROR: Installing the application dependencies.
, stderr: npm WARN lifecycle npm is using /opt/plesk/node/7/bin/node but there is no node binary in the current PATH. Use the
--scripts-prepend-node-path option to include the path for the node binary npm was executed with.
/usr/bin/env: node: No such file or directory
npm ERR! Linux 3.10.0-042stab123.9
npm ERR! argv “/opt/plesk/node/7/bin/node” “/opt/plesk/node/7/bin/npm” “install”
npm ERR! node v7.4.0
The application does not support the Node.js version set in Domain > example.com > Node.js.
Set required Node.js version via Plesk installer.
Note: refer to Node.js documentation to find out the software requirements for each application.
Set a lower Node.js version in Domain > example.com > Node.js > Node.js Version, for example 6: