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

PartialReadError: Read error for undefined : Missing characters in string, found size is 24 expected size was 111 #3510

Closed
marcosar26 opened this issue Nov 22, 2024 · 2 comments
Labels
possible bug Stage1 just created by someone new to the project, we don't know yet if it deserves an implementation / a f

Comments

@marcosar26
Copy link

PartialReadError: Read error for undefined : Missing characters in string, found size is 24 expected size was 111
    at new ExtendableError (/root/bot/node_modules/protodef/src/utils.js:63:13)
    at new PartialReadError (/root/bot/node_modules/protodef/src/utils.js:70:5)
    at ProtoDef.readPString (/root/bot/node_modules/protodef/src/datatypes/utils.js:107:11)
    at ProtoDef.read (/root/bot/node_modules/protodef/src/protodef.js:36:25)
    at ProtoDef.read (/root/bot/node_modules/protodef/src/protodef.js:36:25)
    at ProtoDef.read (/root/bot/node_modules/protodef/src/protodef.js:114:29)
    at e.message (/root/bot/node_modules/protodef/src/protodef.js:153:49)
    at tryCatch (/root/bot/node_modules/protodef/src/utils.js:50:16)
    at ProtoDef.parsePacketBuffer (/root/bot/node_modules/protodef/src/protodef.js:153:29)
    at Client.onCustomPayload (/root/bot/node_modules/minecraft-protocol/src/client/pluginChannels.js:58:31) {
  partialReadError: true
}

Trying to run my script with: npx tsx src/script.ts gives me this error... Why?

@marcosar26 marcosar26 added possible bug Stage1 just created by someone new to the project, we don't know yet if it deserves an implementation / a f labels Nov 22, 2024
@marcosar26
Copy link
Author

The same script works on WebStorm (Windows) but not in my Ubuntu server, wtf ?

@marcosar26
Copy link
Author

Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
possible bug Stage1 just created by someone new to the project, we don't know yet if it deserves an implementation / a f
Projects
None yet
Development

No branches or pull requests

1 participant