#How to link local project to cloud platform

1 messages · Page 1 of 1 (latest)

vocal hollow
#

I want to create tasks using the interface on cloud.trigger.dev, but I don't know how to connect it to an existing project which already has Trigger set up. I tried running the "npx trigger.dev@beta dev" command, but it fails with the message "Worker failed to build: no tasks found. Searched in".

Any ideas?

#

How to link local project to cloud platform

worn meadow
#

So you originally created the project self hosted and you want to switch to the cloud? Or is this a v2 project upgrading to v3?

vocal hollow
#

I think I figured it out. When you run the dev command using the CLI it looks for a "trigger" folder with tasks. My project was using an src/tasks folder instead.