-
-
Notifications
You must be signed in to change notification settings - Fork 363
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
Koa error #822
Comments
Hi @dan335 |
Still can't get this to work. See anything wrong? The output of console.log(uiBasePath) is the correct path. const serverAdapter = new KoaAdapter();
serverAdapter.setBasePath('/admin/queues');
const uiBasePath = join(__dirname, '../', 'node_modules', '@bull-board', 'ui');
console.log(uiBasePath)
createBullBoard({
queues: [
new BullMQAdapter(queueUpdateTransactionCategory),
new BullMQAdapter(queueTrainModel),
new BullMQAdapter(queueSyncTransactions),
],
serverAdapter,
options: { uiBasePath }
});
await app.use(serverAdapter.registerPlugin()); Also tried const uiBasePath = join(__dirname, '../', 'node_modules', '@bull-board', 'ui', 'package.json'); |
This is weird, can you debug it, maybe it is related to the fact that you are using windows. |
Any update? |
I get this error when using with Koa.
Error: ENOENT: no such file or directory, open 'D:\web\ai_ledger\views\index.ejs.html'
I'm guessing it's because I'm using @koa/router instead of koa-router which is not supported anymore.
The text was updated successfully, but these errors were encountered: