NSM (Node Server Manager) SyntaxError
-
This post is deleted!
-
iHarrow can you help?
-
Rise166 accept me i send u friend request
-
Rise166 Whats your problem with nsm?
-
iHarrow i sent invite
-
Is this error fixed?
I have the same error can someone help me?Caught exception: SyntaxError: Unexpected token < in JSON at position 0SyntaxError: Unexpected token < in JSON at position 0
at JSON.parse (<anonymous>)
at MasterServer.getApiKey (C:\Black ops II Server\node-server-manager\Lib\MasterServer.js:109:24)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async MasterServer.init (C:\Black ops II Server\node-server-manager\Lib\MasterServer.js:15:23) -
Okay, if you read the error, it says something about JSON. This means it's likely making a request to some type of server that's expected to return JSON data. It also says the response contained a '<', which is from HTML, not JSON. So, it looks like the server had an error, likely a 500 server error. There's nothing wrong with the program you're running, but a server it's trying to connect with is having issues. The stacktrace you posted doesn't contain any information about that server, but it does have information on which source file that server is referenced in.
-
This post is deleted!
-
I actually get the same error any fixes?
-
Monologue do you still have this error?