-
-
Notifications
You must be signed in to change notification settings - Fork 381
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
1.0.0-alpha.5 Missing Dependencies #85
Comments
Thanks for reporting it! We have this bug now because of we need the types coming from bullmq and Bull at the same time, to be honest I’m not sure how to solve it but I will take a look |
I'd also recommend adding a section on the readme regarding which ts versions are supported, @vcapretz. |
I test the
in peerDependencies I think, and have a conditional require/import on them. |
Testing out 1.0.0-alpha.5...
Current package version
Steps Taken
1.
npm i bull-board@1.0.0-alpha.5
2.
tsc -p project_src
However tsc fails and I get the error below
node_modules/bull-board/dist/index.d.ts:2:34 - error TS2307: Cannot find module 'bullmq'. 2 import { Queue as QueueMq } from 'bullmq';
node_modules/bull-board/dist/index.d.ts:3:30 - error TS2307: Cannot find module 'express-serve-static-core'.
3 declare const router: import("express-serve-static-core").Express;
Note I tested 1.0.0-alpha.4 to confirm and got the same error
Also manually installed bullmq package and error did go away however I received this new error
node_modules/bullmq/dist/interfaces/sandboxed-job.d.ts:3:57 - error TS2304: Cannot find name 'Omit'.
3 export interface SandboxedJob<T = any, R = any> extends Omit<JobJson, 'data' | 'opts' | 'progress' | 'log' | 'returnValue'> {
The text was updated successfully, but these errors were encountered: