© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•7d ago
Gronnmann

Suddenly always getting relative import path error when deploying functions

edge functions
Hey!

I've been using Supabase for my project for a long time. Everything was working perfectly, till lately, when trying to deploy my edge functions, I get:
Download https://jsr.io/@supabase/functions-js/2.93.3_meta.json
Download https://jsr.io/@supabase/functions-js/2.93.3/src/edge-runtime.d.ts
Error: failed to create the graph

Caused by:
    Relative import path "imagescript" not prefixed with / or ./ or ../
        at file:///home/runner/work/ColorMyMemories/ColorMyMemories/supabase/functions/process-image/index.ts:6:23
error running container: exit 1
Try rerunning the command with --debug to troubleshoot the error.
Error: Process completed with exit code 1.
Download https://jsr.io/@supabase/functions-js/2.93.3_meta.json
Download https://jsr.io/@supabase/functions-js/2.93.3/src/edge-runtime.d.ts
Error: failed to create the graph

Caused by:
    Relative import path "imagescript" not prefixed with / or ./ or ../
        at file:///home/runner/work/ColorMyMemories/ColorMyMemories/supabase/functions/process-image/index.ts:6:23
error running container: exit 1
Try rerunning the command with --debug to troubleshoot the error.
Error: Process completed with exit code 1.


Note that this only happens when deploying through Docker or through the github workflows. When running locally with
Docker not detected
Docker not detected
, the issue is non existent.
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Import Map Issues (relative path) for supabase package for functions deploy
SupabaseSSupabase / help-and-questions
3y ago
Edge functions NPM import error
SupabaseSSupabase / help-and-questions
3y ago
Getting a 500 error when deploying on vercel?
SupabaseSSupabase / help-and-questions
4y ago
Deploying functions with dependencies
SupabaseSSupabase / help-and-questions
4y ago