Symptoms
-
The following error appears next to the Application Startup File in Domains > example.com > Node.js:
PLESK_ERROR: The file does not exist
-
The NodeJS application doesn’t work
Cause
Application Startup File is missing in the Application Root directory.
Resolution
-
Go to Domains > example.com > Node.js
-
Verify that the Application Root directory is set to the existing directory
-
Make sure that the Application Startup File exists in the Application Root directory and set the correct name
Additional information:
For the working capacity of Node.js, the following conditions should be met:
-
For Linux:
The Application Root directory must be equal to the subdirectory of the Document Root directory
-
For Windows:
The Application Root directory must be equal to the Document Root directory.