Yash GosaraY
Deno15mo ago
Yash Gosara

Deno blog error while trying to deploy it on deno deploy

Hello, when I run deno run --allow-net --allow-read --allow-env Blog/blog.ts, it works fine locally. However, when I deploy it on Deno Deploy, I encounter the following error:

The deployment failed: UNCAUGHT_EXCEPTION

Error: Cannot run blog from a remote URL.
    at configureBlog (file:///src/blog.tsx:182:11)
    at blog (file:///src/blog.tsx:111:27)
    at file:///src/Blog/blog.ts:3:1


Is there something I’m missing, or are there any suggestions or best practices I should follow for deploying the Deno blog?
Was this page helpful?