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
Description of bug
Unable to start adonis with bullmq, "Invalid or unexpected token"
To Reproduce
Steps to reproduce the behavior:
Create jobs
listen for queue
after a few days (for me) it threw that error
Expected behavior
job.js not getting malformed
Exception or Error
{"type":"SyntaxError","message":"Invalid or unexpected token","stack":"/var/www/maplefiles/node_modules/bullmq/dist/cjs/classes/job.js:1\n\n\n\nSyntaxError: Invalid or unexpected token\n at Object.compileFunction (node:vm:360:18)\n at wrapSafe (node:internal/modules/cjs/loader:1055:15)\n at Module._compile (node:internal/modules/cjs/loader:1090:27)\n at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10)\n at Module.load (node:internal/modules/cjs/loader:1004:32)\n at Function.Module._load (node:internal/modules/cjs/loader:839:12)\n at Module.require (node:internal/modules/cjs/loader:1028:19)\n at Module.Hook._require.Module.require (/usr/local/share/.config/yarn/global/node_modules/require-in-the-middle/index.js:101:39)\n at require (node:internal/modules/cjs/helpers:102:18)\n at Object. (/var/www/maplefiles/node_modules/bullmq/src/classes/queue-base.ts:5:1)
Screenshots
Environment:
OS: Debian 11
Node v16.17.1
Adonis 5.8.0
The text was updated successfully, but these errors were encountered:
Description of bug
Unable to start adonis with bullmq, "Invalid or unexpected token"
To Reproduce
Steps to reproduce the behavior:
Expected behavior
job.js not getting malformed
Exception or Error
Screenshots
Environment:
The text was updated successfully, but these errors were encountered: