TheOnlyTails
TheOnlyTails
Explore posts from servers
CDCloudflare Developers
Created by TheOnlyTails on 4/19/2024 in #pages-help
Internal error when deploying SvelteKit app
Hello, I'm getting this error on every build I'm trying to deploy:
Failed: an internal error occurred. If this continues, contact support: https://cfl.re/3WgEyrH
Error: Failed to publish assets. For support, join our Discord (https://discord.gg/cloudflaredev) or create a ticket and reference the deployment ID: 11566e84-8b78-43bd-a310-ff2693ffbb8d
Failed: an internal error occurred. If this continues, contact support: https://cfl.re/3WgEyrH
Error: Failed to publish assets. For support, join our Discord (https://discord.gg/cloudflaredev) or create a ticket and reference the deployment ID: 11566e84-8b78-43bd-a310-ff2693ffbb8d
source code: https://github.com/lipu-linku/lipu/tree/forms/
6 replies
CDCloudflare Developers
Created by TheOnlyTails on 2/9/2024 in #pages-help
Can't import modules from ['/src/index.tsx','/app/server.ts']
I have a cloudflare pages project that deploys a honojs api, but when I deploy it, after the build has succeeded and the assets have been uploaded, I get this error:
Error: Failed to publish your Function. Got error: Uncaught Error: Can't import modules from ['/src/index.tsx','/app/server.ts']
at functionsWorker-0.6801182622647344.js:958:9
Error: Failed to publish your Function. Got error: Uncaught Error: Can't import modules from ['/src/index.tsx','/app/server.ts']
at functionsWorker-0.6801182622647344.js:958:9
The main problem is that /src/index.tsx and /app/server.ts not only do not exist, but there's not even a /src or /app directory for it to import from, and i'm absolutely befuddled. source code: https://github.com/lipu-linku/sona/tree/4f13bdbe7f99a4acc0233494fdef98716a87d680 account id: 6f6f2b04446ddf30098fc2c2550476a7 pages.dev url: https://sona-f2s.pages.dev/
2 replies