denoland / deploy_feedback

For reporting issues with Deno Deploy
https://deno.com/deploy
74 stars 5 forks source link

[Bug]: module source not found #421

Closed waptik closed 1 year ago

waptik commented 1 year ago

Problem description

I made a report on discord about an issue i have been facing since morning. It's about my telegram bot built using grammY that has not been functioning properly Ref Screenshot 2023-07-03 at 10 02 51

Steps to reproduce

  1. Fork https://github.com/grammyjs/examples/tree/main/deno-deploy and clone it locally
  2. Create a new project on deploy, link your copy and set environment variables
  3. Click the deploy button, send message through your bot and view your project logs on deno deploy

Expected behavior

That error shouldn't be available.

Environment

Possible solution

No response

Additional context

No response

xditya commented 1 year ago

Same issue here.

Facing similar issues with deno_mongo as well: IMG_20230703_164352_795

roziscoding commented 1 year ago

Exact same issue as @waptik here

waptik commented 1 year ago

Exact same issue as @waptik here

It's so annoying. According to their reply on discord, there was a recent update (this morning) that cause of it but no ETA on a fix

laosb commented 1 year ago

8 hours later still not fixed. Wow.

Not even an official response on that. The status page still reads All systems operational.

waptik commented 1 year ago

Guys, i think it has been fixed now. Bot working perfectly and no error from project logs. Unfortunately, it took 24hrs for it to get fixed which is sad.

Please check on your side if it works before i close this issue.

laosb commented 1 year ago

Works for me now!

waptik commented 1 year ago

Works for me now!

Good good! Waiting for others to reply as well

lucab commented 1 year ago

Thanks all for the reports and apologies for not posting earlier updates here. Yesterday (2023-07-03) we rolled out some code changes to support statically analyzable dynamic imports and we believe that the module source not found error is a bug that surfaced as a side-effect of those changes. We've temporarily applied a quick-fix which should avoid that issue, it is already live on our production infrastructure since this morning (4:30 UTC) and from the feedback here it seems to be working fine.

However, we are still investigating the underlying issue, which is specific to some codebases and thus affects only a number of specific projects. If you have a public codebase that we can look at and where you were encountering this problem, we'll gladly take a look in order to collect more elements for our bug investigation.

waptik commented 1 year ago

Thanks all for the reports and apologies for not posting earlier updates here. Yesterday (2023-07-03) we rolled out some code changes to support statically analyzable dynamic imports and we believe that the module source not found error is a bug that surfaced as a side-effect of those changes. We've temporarily applied a quick-fix which should avoid that issue, it is already live on our production infrastructure since this morning (4:30 UTC) and from the feedback here it seems to be working fine.

However, we are still investigating the underlying issue, which is specific to some codebases and thus affects only a number of specific projects. If you have a public codebase that we can look at and where you were encountering this problem, we'll gladly take a look in order to collect more elements for our bug investigation.

Thanks for responding about the fix and giving us an explanation as to why we faced that issue.

Unfortunately, i don't have any public codebase that faced that issue, only private codebase did. And in my case, it was because i'm importing https://deno.land/x/grammy@v1.17.1/mod.ts which in turn imports its helper modules as dependencies. See this

roziscoding commented 1 year ago

If you have a public codebase that we can look at and where you were encountering this problem, we'll gladly take a look in order to collect more elements for our bug investigation.

@lucab The codebase I experienced this bug on is public at https://github.com/roziscoding/amandapix-telegram-bot. I hope this helps further investigate the issue!