You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RangeError [ERR_BUFFER_OUT_OF_BOUNDS]: "length" is outside of buffer bounds
at proto.utf8Write (node:internal/buffer:1066:13)
at Packr.encodeUtf8 (/Users/jonk/celebrate2/node_modules/msgpackr/pack.js:31:18)
at pack (/Users/jonk/celebrate2/node_modules/msgpackr/pack.js:324:15)
at packArray (/Users/jonk/celebrate2/node_modules/msgpackr/pack.js:238:5)
at pack (/Users/jonk/celebrate2/node_modules/msgpackr/pack.js:424:7)
at Packr.pack.encode (/Users/jonk/celebrate2/node_modules/msgpackr/pack.js:129:6)
at Scripts.addStandardJob (/Users/jonk/celebrate2/node_modules/bullmq/src/classes/scripts.ts:158:15)
at Scripts.addJob (/Users/jonk/celebrate2/node_modules/bullmq/src/classes/scripts.ts:219:27)
at Job.addJob (/Users/jonk/celebrate2/node_modules/bullmq/src/classes/job.ts:1212:25)
at Function.create (/Users/jonk/celebrate2/node_modules/bullmq/src/classes/job.ts:254:24) {
code: 'ERR_BUFFER_OUT_OF_BOUNDS'
}
If I add the job without specifying the parent details, it works. But when I specify the parent, it fails:
I believe this is a node version error, it should only be ocurring in version 22.7, if you could upgrade it to 22.8 or downgrade to 22.5 it should be fixed.
Version
^5.18.0
Platform
NodeJS
What happened?
When adding a child job (following the steps documented here: https://docs.bullmq.io/patterns/process-step-jobs#waiting-children), I get an error:
If I add the job without specifying the parent details, it works. But when I specify the parent, it fails:
I have confirmed that the job ID exists and everything looks correct. As I said, I am basically copying the documentation.
How to reproduce.
No response
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: