- Plesk Onyx for Linux
- Plesk Onyx for Windows
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-pathoption 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 Node.js version set in Domain > example.com > Node.js > Node.js Version.
Set required Node.js version via Plesk installer.
Note: refer to the documentation of Node.js to find the software requirements for each application.
Set a lower Node.js version in Domain > example.com > Node.js > Node.js Version, for example 6:
If the issue persists, repeat the step 2.