R
Railway16mo ago
Marc

Issue with deploy for Supabase Monorepo

I'm having an issue deploying my project which is a Supabase monorepo (Next.js + Supabase functions [Deno]). From reading the documentation (https://nixpacks.com/docs/providers/deno) I think the error is coming from this: 'Deno is detected if there is a deno.{json,jsonc} file found or if any .{ts,tsx,js,jsx} file is found that imports something from deno.land.' I do in fact have files that mention deno.land in my supabase functions monorepo folder. However this auto detection of Deno is breaking my builds for the Next.js side because the Nix builder thinks it's in a Deno project and then fails to find Yarn. Does anyone know of I was to override this behavior?
Deno | Nixpacks
App source + Nix packages + Docker = Image
7 Replies
Percy
Percy16mo ago
Project ID: d56d2d18-a224-4e42-89ad-f6d1f43b6b55
Marc
MarcOP16mo ago
d56d2d18-a224-4e42-89ad-f6d1f43b6b55 For added context my project structure is as follows: root app package.json [rest of Next.js files] supabase functions However following Supabase's instructions I have a special VScode workspace that makes the supabase folder appear as a seperate workscpace/folder
Marc
MarcOP16mo ago
Railway Docs
Builds | Railway Docs
Documentation for Railway
Marc
MarcOP16mo ago
Will I need to be park of priority boarding for this? Getting mixed messages from the documentation?
Brody
Brody16mo ago
not for anything with a nixpacks.toml file
Marc
MarcOP16mo ago
That fixed it!
Want results from more Discord servers?
Add your server