Hi, I am having trouble starting Express on my server. I can not even type to the terminal anymore. Hopefully someone can help me spot the issue
The problem is that you have an extra
app.get("/". To fix this, change
app.get("/"), function ... to
app.get("/", function .... The reason is that the function is a callback, and should be passed as a parameter to
app.get. Also, if your terminal is frozen, try pressing
Ctrl+Q in it and see whether it allows you to enter anything. Otherwise, press
Alt+T to open another terminal, and just continue from there.