Getting this error when trying to deploy on 3.0.0-beta.49. In dev everything works fine and tasks are recognized.
Error locally:
Trigger.dev (3.0.0-beta.49)
------------------------------------------------------
┌ Deploying project
│
◇ Retrieved your account details for [email protected]
│
◇ Preparing to deploy "acme-dev" (proj_xxx) to prod
│
◇ Typechecking passed with 0 errors
│
◇ Project built successfully
│
◇ Dependencies resolved
│
◇ Deployment encountered an error. View deployment
X Error: Background Worker started without tasks. Searched in: /Users/ldx/Repositories/acme/packages/tasks/trigger
Error from the deployment log on the dashboard:
Error: Background Worker started without tasks. Searched in: /Users/ldx/Repositories/acme/packages/tasks/trigger
at _a5.initializeWorker_fn (/app/index.js:2099:11)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Object.onConnection (/app/index.js:1809:35)
at async Socket.<anonymous> (/app/node_modules/@trigger.dev/core/dist/v3/zodSocket.js:314:9)