denoland/fresh

deno task build is not working

mohankoppuravuri opened this issue · 4 comments

deno task start

Screenshot 2024-09-19 at 8 30 59 AM

But when I try to build

Screenshot 2024-09-19 at 8 32 06 AM

Infact deno deploy (automatic one is also not working) Github action got failed saying 360 minutes exceeded

Are you using Deno KV by chance or anything else that sets up long running code to listen for something?

Related #2240

#2240

I am using mongo atlas (remote database). However removing database related code didn't actually help.

They portray it as a production grade, Now basic things are breaking. I just switched from react and node to here to avoid typescript config and easy configuration of SSR and react linting etc

marvinhagemeister

Do you know how to debug the build issues ?

Are you using Deno KV by chance or anything else that sets up long running code to listen for something?

Related #2240

Hi I fixed this issue by adding database connections inside onListen callback function to defineConfig inside fresh.config.ts