Can not type to terminal


#1

http://i.imgur.com/qu9pZnH.png

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


#2

The problem is that you have an extra ) after 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+S and 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.