-
-
Notifications
You must be signed in to change notification settings - Fork 364
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
bullmq required module but using bull #167
Comments
What is the file that requires it? Bullmq is in our devDependencies, if you compile with TS (which is a dev dep) install them :) |
|
You are right, Regarding this,
I'm not sure i understood your meaning. |
@felixmosh my quick idea to make bull-board independent from bull version was something like:
|
@k2s , Ha got the idea, but there are 2 concerns with it:
I think that it is better to remove the only usage, and make it a read devDeps. @vcapretz WDYT? |
I agree on removing the usage, it seems like it can be solved in other ways, I am just not sure what properties we can look at to decide if it's a queue from bull or bullmq 🤔 |
@vcapretz if you need to know which bull library is in use, then what about changing my proposal to use second parameter into options.
|
Thank you for the suggestion, I found more checks like this (https://github.com/vcapretz/bull-board/blob/a0de3877e720230a0dd08a2b262f822a52bb018a/src/routes/cleanAll.ts#L28), we need to refactor the code so it will be agnostic to the lib type. |
I am using
bull
, notbullmq
, and when I try to compile using typescript I receive the following compiler error:error TS2307: Cannot find module 'bullmq' or its corresponding type declarations.
Meanwhile, the issue is resolved aftering install
bullmq
The text was updated successfully, but these errors were encountered: