Error When Trying to View NodeJS Remotely

Excuse my novice status, however, I need to know what this means so I can remedy the issue:

const server = require(’./lib/server’);

server.start();

This shows up when I try to view the page in the browser after publishing the page to the host (remote).

The page show with no issue when using the localhost:3000 (locally).

Wappler terminally displays a very long red error message that starts with:

Error: EISDIR: illegal operation on a directory, read at Object.readSync (fs.js:581:3) at tryReadSync (fs.js:357:20)

Community Page
Last updated: