Getting file:///src/src/server/schema path doubling error on Deno Deploy
😩 Hi! I'm deploying a Hono app to Deno Deploy and getting a persistent path resolution error where src/ is being doubled: Module not found "file:///src/src/server/schema"
My setup:
Hono v4 from JSR (jsr:@hono/hono@^4.10.1)
Deploying via GitHub Actions to Deno Deploy
Using path aliases in deno.json
again, the error: When it tries to resolve imports inside my route files (like @/server/schema), it becomes file:///src/src/server/schema.
I've tried different alias configurations ("@/": "./src/", "@/": "./", specific "@/server/" mappings) but keep getting the same src/src/ doubling.
Any ideas what could be causing the path to double like this?
0 Replies