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

osc-min Buffer error #54

Closed
crucialfelix opened this issue Aug 10, 2019 · 0 comments
Closed

osc-min Buffer error #54

crucialfelix opened this issue Aug 10, 2019 · 0 comments

Comments

@crucialfelix
Copy link
Owner

This is inside the osc-min package. Maybe toTimetagBuffer is incorrect, or it's the wrong size of Buffer.

(node:22432) UnhandledPromiseRejectionWarning: RangeError [ERR_OUT_OF_RANGE]: The value of "value" is out of range. It must be >= -2147483648 and <= 2147483647. Received 3774439528
at checkInt (internal/buffer.js:35:11)
at writeU_Int32BE (internal/buffer.js:623:3)
at Buffer.writeInt32BE (internal/buffer.js:711:10)
at Object.module.exports.(anonymous function) [as packInt32] (/Users/crucialfelix/code/supercolliderjs/node_modules/binpack/index.js:35:72)
at Object.exports.toTimetagBuffer (/Users/crucialfelix/code/supercolliderjs/node_modules/osc-min/lib/osc-utilities.js:191:34)
at Object.exports.toOscBundle (/Users/crucialfelix/code/supercolliderjs/node_modules/osc-min/lib/osc-utilities.js:600:26)
at Object.exports.toOscPacket (/Users/crucialfelix/code/supercolliderjs/node_modules/osc-min/lib/osc-utilities.js:620:24)
at Object.exports.toBuffer (/Users/crucialfelix/code/supercolliderjs/node_modules/osc-min/lib/index.js:143:18)
at SendOSC. (/Users/crucialfelix/code/supercolliderjs/packages/server/lib/server.js:131:31)
at SendOSC.emit (events.js:194:15)

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