Ask coding questions

← Back to all posts
Its not working
Noahboy84 (0)

When i try to run the code it says something like
"SyntaxError: Unexpected identifier" and then stops, can someone please help me im kinda getting angry.

Coder100 (18930)

you made a typo on line 1. It is const not konst silly!

const keepAlive = require("./server.js")

please, read the error fully -- they also have useful line numbers.

InvisibleOne (3226)

Well for one you have konst in your code, that's incorrect, it should be const