R
Railway14mo ago
kstulgys

not prefixed with / or ./ or ../

I'm deploying nexths 13 app and getting this error: error: Relative import path "@/types/collections" not prefixed with / or ./ or ../
8 Replies
Percy
Percy14mo ago
Project ID: N/A
kstulgys
kstulgysOP14mo ago
N/A
Fragly
Fragly14mo ago
Are you using Deno?
kstulgys
kstulgysOP14mo ago
i have a supabase folder with edge functions but these are deployed separately I also have: "exclude": ["node_modules", "supabase"]
Fragly
Fragly14mo ago
If you're using Deno then you may need to configure import paths
kstulgys
kstulgysOP14mo ago
how?
Fragly
Fragly14mo ago
Stack Overflow
deno relative path issue
I wanted to some prefixes for my imports like you can see in the code below: "paths": { "~/": ["../../libs/"], "@/": ["./"]...
Fragly
Fragly14mo ago
I'm not 100% sure though, haven't used deno myself
Want results from more Discord servers?
Add your server