Closed Jess182 closed 9 months ago
I have the same issue when deploying this commit: https://github.com/connery-io/gmail/commit/2e464cfb3d3a7918e50602e59bd9c38897b5af6d
Tried to deploy in both ways:
deployctl deploy
At the same time the deno run ./src/index.ts
runs the code successfully.
This is a blocker for us as we can not deploy the project to Deno Deploy.
I think I found the reason. The code I tried to deploy didn't do anything and just exported an object. So it's runtime ended up very fast. However, when I added the following line of code, the repo deployed successfully. I assume that Deno Deploy only works if the deployed app runs continuously, like a web server that listens for incoming requests.
Deno.serve((req: Request) => new Response("Hello World"));
Even though it would be nice to have a more self-explanatory error message in this case 😉
I think I found the reason. The code I tried to deploy didn't do anything and just exported an object. So it's runtime ended up very fast. However, when I added the following line of code, the repo deployed successfully. I assume that Deno Deploy only works if the deployed app runs continuously, like a web server that listens for incoming requests.
Deno.serve((req: Request) => new Response("Hello World"));
Even though it would be nice to have a more self-explanatory error message in this case 😉
Thanks for reply, and you are right! after initializing my server, the deployment worked, thanks for the help!
Problem description
Hi I have tried to deploy different projects and all fail with same error: ISOLATE_INTERNAL_FAILURE Even I have deployed just a file with
console.log
and it fails too Is it a global/general error or it's especific for my account? ThanksSteps to reproduce
Expected behavior
Deploy my projects
Environment
Possible solution
No response
Additional context
No response