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/
GitHub
GitHub - lipu-linku/sona at 4f13bdbe7f99a4acc0233494fdef98716a87d680
A collaborative, open dataset for and by the Toki Pona community. - GitHub - lipu-linku/sona at 4f13bdbe7f99a4acc0233494fdef98716a87d680
1 Reply
TheOnlyTails
TheOnlyTailsOP10mo ago
does anybody know anything about this?
Want results from more Discord servers?
Add your server