[Resolved] Says unexpected token but it's on a line that has no code


#1

My code does not have anything written on line 169 it stops at 168. I thought maybe I had an open curly bracket that I never closed but I couldn’t find anything. Has anyone received this issue before who might be able to guide me in the right direction?
The name of my project is commissioner-gordon.

/app/server.js:169

});

  ^

SyntaxError: Unexpected end of input

    at new Script (vm.js:51:7)

    at createScript (vm.js:136:10)

    at Object.runInThisContext (vm.js:197:10)

    at Module._compile (internal/modules/cjs/loader.js:618:28)

    at Object.Module._extensions..js (internal/modules/cjs/loader.js:665:10)

    at Module.load (internal/modules/cjs/loader.js:566:32)

    at tryModuleLoad (internal/modules/cjs/loader.js:506:12)

    at Function.Module._load (internal/modules/cjs/loader.js:498:3)

    at Function.Module.runMain (internal/modules/cjs/loader.js:695:10)

    at startup (internal/bootstrap/node.js:201:19)

#2

Since your project is private you’ll need to DM me a join link so we can view the code. But it does sound like you’re missing a closing bracket.


#3

Hey i just re-winded the code a bunch till i got back to a working version. Thank you anyway!