Basic Node and Express - Serve an HTML File

Tell us what’s happening:

I am unable to figure out what I am doing wrong. I have edited the code in the exercise with :
app.get(“/”, function(req, res) {
res.sendFile(__dirname + “/views/index.html”);
and have been unable to solve this problem. I have restarted the npm server multiple times with no success. Nothing I enter or change seems to work.

###Your project link(s)


Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36 Edg/

Challenge Information:

Basic Node and Express - Serve an HTML File

Did you comment out/remove the / route from the previous challenge?

We can’t see your code. If you need more help, post a GitHub repo or share a snapshot of your Gitpod workspace.