diff --git a/packages/backend/src/boot/worker.ts b/packages/backend/src/boot/worker.ts index 400083851a..494e7c8c10 100644 --- a/packages/backend/src/boot/worker.ts +++ b/packages/backend/src/boot/worker.ts @@ -10,6 +10,7 @@ import { envOption } from '@/env.js'; import { loadConfig } from '@/config.js'; import { jobQueue, server } from './common.js'; import { fileURLToPath } from 'node:url'; +import { dirname } from 'node:path'; import * as fs from 'node:fs'; const _filename = fileURLToPath(import.meta.url); const _dirname = dirname(_filename);