Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SyntaxError: Unexpected token o in JSON at position 1 #91

Open
reecebunny opened this issue Apr 10, 2024 · 0 comments
Open

SyntaxError: Unexpected token o in JSON at position 1 #91

reecebunny opened this issue Apr 10, 2024 · 0 comments

Comments

@reecebunny
Copy link

Ubuntu server
Ubuntu 22.04.3 LTS x86_63

Last Update: [4-10-2024 3:32:36 AM]
Account: ###########
Current Controller: None
Current Queue Position: CHECKING...
ETA: CHECKING...
Restart: None
In Queue Server: TRUE
Mineflayer Running: TRUE


/home/reece/2based2wait/node_modules/.pnpm/[email protected]/node_modules/minecraft-protocol/src/transforms/framing.js:67
         } else { throw e }
                  ^

SyntaxError: Unexpected token o in JSON at position 1
   at JSON.parse (<anonymous>)
   at Object.playerlistHeaderPacketHandler (/home/reece/2based2wait/util/queue.js:57:22)
   at packetHandler (/home/reece/2based2wait/proxy.js:55:8)
   at Client.<anonymous> (/home/reece/2based2wait/proxy.js:158:3)
   at Client.emit (node:events:513:28)
   at emitPacket (/home/reece/2based2wait/node_modules/.pnpm/[email protected]/node_modules/minecraft-protocol/src/client.js:82:12)
   at FullPacketParser.<anonymous> (/home/reece/2based2wait/node_modules/.pnpm/[email protected]/node_modules/minecraft-protocol/src/client.js:112:9)
   at FullPacketParser.emit (node:events:513:28)
   at addChunk (/home/reece/2based2wait/node_modules/.pnpm/[email protected]/node_modules/readable-stream/lib/_stream_readable.js:279:12)
   at readableAddChunk (/home/reece/2based2wait/node_modules/.pnpm/[email protected]/node_modules/readable-stream/lib/_stream_readable.js:262:11)
   at Readable.push (/home/reece/2based2wait/node_modules/.pnpm/[email protected]/node_modules/readable-stream/lib/_stream_readable.js:228:10)
   at Transform.push (/home/reece/2based2wait/node_modules/.pnpm/[email protected]/node_modules/readable-stream/lib/_stream_transform.js:132:32)
   at FullPacketParser._transform (/home/reece/2based2wait/node_modules/.pnpm/[email protected]/node_modules/protodef/src/serializer.js:89:10)
   at Transform._read (/home/reece/2based2wait/node_modules/.pnpm/[email protected]/node_modules/readable-stream/lib/_stream_transform.js:166:10)
   at Transform._write (/home/reece/2based2wait/node_modules/.pnpm/[email protected]/node_modules/readable-stream/lib/_stream_transform.js:155:83)
   at doWrite (/home/reece/2based2wait/node_modules/.pnpm/[email protected]/node_modules/readable-stream/lib/_stream_writable.js:390:139)
   at writeOrBuffer (/home/reece/2based2wait/node_modules/.pnpm/[email protected]/node_modules/readable-stream/lib/_stream_writable.js:381:5)
   at Writable.write (/home/reece/2based2wait/node_modules/.pnpm/[email protected]/node_modules/readable-stream/lib/_stream_writable.js:302:11)
   at Decompressor.ondata (/home/reece/2based2wait/node_modules/.pnpm/[email protected]/node_modules/readable-stream/lib/internal/streams/readable.js:705:22)
   at Decompressor.emit (node:events:513:28)
   at addChunk (/home/reece/2based2wait/node_modules/.pnpm/[email protected]/node_modules/readable-stream/lib/internal/streams/readable.js:321:12)
   at readableAddChunk (/home/reece/2based2wait/node_modules/.pnpm/[email protected]/node_modules/readable-stream/lib/internal/streams/readable.js:298:9)
   at Readable.push (/home/reece/2based2wait/node_modules/.pnpm/[email protected]/node_modules/readable-stream/lib/internal/streams/readable.js:244:10)
   at Decompressor._transform (/home/reece/2based2wait/node_modules/.pnpm/[email protected]/node_modules/minecraft-protocol/src/transforms/compression.js:52:12)
   at Transform._write (/home/reece/2based2wait/node_modules/.pnpm/[email protected]/node_modules/readable-stream/lib/internal/streams/transform.js:153:8)
   at writeOrBuffer (/home/reece/2based2wait/node_modules/.pnpm/[email protected]/node_modules/readable-stream/lib/internal/streams/writable.js:334:12)
   at _write (/home/reece/2based2wait/node_modules/.pnpm/[email protected]/node_modules/readable-stream/lib/internal/streams/writable.js:283:10)
   at Writable.write (/home/reece/2based2wait/node_modules/.pnpm/[email protected]/node_modules/readable-stream/lib/internal/streams/writable.js:286:10)
   at Splitter.ondata (/home/reece/2based2wait/node_modules/.pnpm/[email protected]/node_modules/readable-stream/lib/internal/streams/readable.js:705:22)
   at Splitter.emit (node:events:513:28)

Node.js v18.10.0
 ELIFECYCLE  Command failed with exit code 1.
reece@ubuntusrv:~/2based2wait$ 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant