I have uploaded my site to GoDaddy, and when I try to access it via a browser I get the error:
const server = require(’./lib/server’); server.start();
According to their Tech Support everything is working from their end.
Does anybody have any ideas?
What kind of project have you created and what server model did you use for it?
I am new, so will try and answer 
I am using Dynamic Pages using BootStrap 5 framework, and the Server was a Local Wappler Server NodeJS
So you just used FTP to connect and upload your app?
I am not sure if GoDaddy provide NodeJS hosting actually, so please check with them if they support it.
yes I used FTP . . . and GoDaddy so support NodeJS hosting with their Web Hosting Plus package which I have.
Their Support Team says that everything looks good from their side, so it must be on my side where the problem lies
If they do support NodeJS then please make sure to follow:
OK, I will follow the documentation and try . . . slightly different to what GoDaddy recommended, but, will try . . . watch this space for an update 
who would you recommend as a Hosting provider instead of GoDaddy? They don’t seem interested in helping, and don’t seem to understand how NodeJs actually works
Digital Ocean offer full Node JS support, as well as Hertzner, very affordable and very well documented here within the Community. There is a learning curve so be prepared for a little reading up on the subject. If you follow the documentation you shouldn’t have any issues though. You’ll usually receive a credit for Digital Ocean (as much as 100 Dollars upon sign-up).