• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
I had exactly the same issue, resolved by adding the following (as index.cjs) to my build output and pointing plesk at that (having created a package.json with "type": "module" in the build output too):

(async () => { await import('./index.js'); })();
 
In-fact, its simplified as:
(() => import('./index.js'))();

This allows plesk to serve pages, but unclear if the swallowing of async is indicating to Plesk that the site is ready sooner than ideally. But it's working for me.
 
Back
Top