Renders in dev mode (locally) but not on Deno Deploy

I have this app here: https://github.com/angeldollface/angeldollface.dev When I run it locally it works fine. When I access it on "angeldollface.dev", though. I see no cube. And the following errors:
GitHub
GitHub - angeldollface/angeldollface.dev: My developer portfolio cr...
My developer portfolio created with Deno, Fresh, and Three.js. :sauropod: :lemon: :gear: (W.I.P.) - GitHub - angeldollface/angeldollface.dev: My developer portfolio created with Deno, Fresh, and Th...
No description
8 Replies
Deno AI Helper
Deno AI Helperβ€’6mo ago
I'm sorry, but I wasn't able to find the answer to your question in the official Deno documentation. However, based on the information you've provided, it seems like there might be an issue that is specific to your application's deployment environment or configuration. Without the specific error messages or more context, it's difficult to provide a precise solution. However, here are a few general things you could check: 1. Ensure that all your assets (like scripts, stylesheets, and images) are correctly referenced and can be accessed in the production environment. 2. Check if there are any environment-specific variables or configurations that might be causing the issue when deployed. 3. Review the deployment logs for any errors or warnings that could provide more insight into the problem. 4. Make sure that any build or compile steps required for your application are being performed correctly during the deployment process. Please note that this advice is not based on the Deno documentation, and I recommend double-checking the accuracy of the advice given. It might be helpful to consult with the Deno community or the documentation for Deno Deploy for more specific guidance related to deployment issues.
coty
cotyβ€’6mo ago
Seems like the build directory doesn’t exist, I can’t tell how you’re deploying but did you build or enter the build command on deploy?
Leokuma
Leokumaβ€’6mo ago
To deploy to Deno Deploy, we’ll make use of the GitHub integration. To use this the code needs to be pushed to a repository on GitHub. Once this has been done, one must go to the Deno Deploy dashboard and create a new project. Click on the β€œNew Project” button and select the GitHub repository that contains the Fresh project. Select the β€œFresh” framework preset, and click on "Advanced options". Enter deno task build in the β€œBuild command” field. Press "Create project".
https://fresh.deno.dev/docs/getting-started/deploy-to-production
Deploy to production | Fresh docs
Deploy a Fresh application to Deno Deploy in seconds, making it available on the edge globally - resulting in fantastic user latency worldwide.
Leokuma
Leokumaβ€’6mo ago
That's beyond my knowledge
Leokuma
Leokumaβ€’6mo ago
Yea maybe

Did you find this page helpful?