`functions deploy` fails `entrypoint path does not exist` w/ vscode devcontainer

I'm attempting to publish an edge function, however it keeps failing with: Error: entrypoint path does not exist If i create the hello-world function, that too fails with the same error (debug log attached). The file definitely exists
$ ls -la supabase/functions/hello-world/index.ts
-rw-r--r-- 1 vscode vscode 1095 Jan 19 11:14 supabase/functions/hello-world/index.ts

$ tree supabase
supabase
├── config.toml
└── functions
├── hello-world
├── deno.json
└── index.ts
├── import_map.json
├── send-about-email
├── deno.json
└── index.ts
└── testfunc
├── deno.json
└── index.ts

5 directories, 8 files
$ ls -la supabase/functions/hello-world/index.ts
-rw-r--r-- 1 vscode vscode 1095 Jan 19 11:14 supabase/functions/hello-world/index.ts

$ tree supabase
supabase
├── config.toml
└── functions
├── hello-world
├── deno.json
└── index.ts
├── import_map.json
├── send-about-email
├── deno.json
└── index.ts
└── testfunc
├── deno.json
└── index.ts

5 directories, 8 files
However, if I close out of the devcontainer, I'm magically able to deploy it. It seems as though somehow there's a path error somewhere? I'm not sure how to resolve this.
2 Replies
silentworks
silentworks8mo ago
This sounds like a devcontainer issue rather than a Supabase edge functions one.
ghotinchips
ghotinchipsOP8mo ago
Oh, I agree. I just don't know where it's going wrong. LOL so, i'm using docker-outside-docker, just switched to docker-in-docker and it seems to be progressing... Yeah, so it's a docker-in-docker vs docker-outside-docker conflict

Did you find this page helpful?