Platforms Starter Kit - Local dev setup
Answered
Southern rough shrimp posted this in #help-forum
Southern rough shrimpOP
I'm using the latest version of the Platforms Starter Kit template with Drizzle.
I followed this guide: https://vercel.com/guides/nextjs-multi-tenant-application
However, when trying to run locally I get this error:
Any ideas on how to fix?
Thanks,
Matt
I followed this guide: https://vercel.com/guides/nextjs-multi-tenant-application
However, when trying to run locally I get this error:
Query: select "subdomain", "customDomain" from "sites" where "sites"."subdomain" = $1 -- params: ["demo"]
⨯ node_modules/.pnpm/next@14.0.2_react-dom@18.3.1_react@18.3.1/node_modules/next/dist/server/web/spec-extension/unstable-cache.js (113:35) @ parse
⨯ SyntaxError: "undefined" is not valid JSON
at JSON.parse (<anonymous>)
at async getSiteData (./lib/fetchers.ts:26:12)
at async SiteLayout (./app/[domain]/layout.tsx:63:18)
nullAny ideas on how to fix?
Thanks,
Matt
Answered by Southern rough shrimp
I used the correct login url which solved the problem: https://app.localhost:3000/login
1 Reply
Southern rough shrimpOP
I used the correct login url which solved the problem: https://app.localhost:3000/login
Answer