Gonna Quickly Weigh in here
if you having errors With
setting up express
Try this code for your Start up file
const express = require(“express”);
const app = express();
app.use(express.static(“public”));
app.get(“/”, (request, response) => {
response.sendFile(__dirname + “public/index.html”);
});
app.use(function(req, res, next) {
res.status(404).sendFile(__dirname + “/404.html”);
});
// send the default array of dreams to the webpage
// listen for requests 
const listener = app.listen(process.env.PORT, () => {
console.log("Your app is listening on port " + listener.address().port);
});
This has a 404 Page Not found Which i have Block quoted
also This is my Package.json
{
“//1”: “describes your app and its dependencies”,
“//2”: “https://docs.npmjs.com/files/package.json”,
“//3”: “updating this file will download and update your packages”,
“name”: “hello-express”,
“version”: “0.0.1”,
“description”: “A simple Node app built on Express, instantly up and running.”,
“main”: “server.js”,
“scripts”: {
“start”: “node server.js”
},
“dependencies”: {
“express”: “^4.17.1”
},
“engines”: {
“node”: “12.x”
},
“repository”: {
“url”: “Glitch :・゚✧”
},
“license”: “MIT”,
“keywords”: [
“node”,
“glitch”,
“express”
]
}
Hopefully i helped