Monwar HussainM
Denoβ€’15mo ago
Monwar Hussain

Encountering error on deployment while importing files

I'm encountering an error after deploying my application to Deno using the deployctl CLI. Locally, I imported files by reading the directory with the Deno.readdir() method. I then iterated over these files to retrieve the default object each file exported, and everything worked fine. However, after deploying to Deno's cloud, I'm getting a "file not found" error.

I attached screenshot of my code, my
deno.json
configuration file, and the error message I encountered.
image.png
image.png
image.png
Was this page helpful?