NSM (Node Server Manager) SyntaxError
-
I've found fixes for about 4 different errors and finally did the configuration now I'm getting another error that's not showing up anywhere on google or forums and i was wondering if anyone could 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 (H:\Plutonium T6 Server\node-server-manager\Lib\MasterServer.js:109:24) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async MasterServer.init (H:\Plutonium T6 Server\node-server-manager\Lib\MasterServer.js:15:23)
any help willl be greatly appreciated
-
psythology Same but it work everything Dont worry
-
iHarrows123 no '.' commands work ive tried .owner and .token i've checked the configs and the command is . i havent changed it
-
Are the commands working fine (all commands)?
what exactly is the problem?
Your error is useless i have the same and everything is okay
if you have Dicord please dm me iHarrow#1000 -
iHarrow said in NSM (Node Server Manager) SyntaxError:
iHarrow#1000
i need some help from you, i added you on discord. Rise#0813
-
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?