supabase-community / partner-gallery-example Goto Github PK
View Code? Open in Web Editor NEWSupabase Partner Gallery Example
Home Page: https://supabase.com/partners
License: MIT License
Supabase Partner Gallery Example
Home Page: https://supabase.com/partners
License: MIT License
Currently, this example is using the same tailwind setup as the https://github.com/supabase/supabase.
It would be better if this example didn't require a custom tailwind config and was more generalised.
I am getting an error while building my app on vercel and locally. on vercel it says this:
08:49:51.869 | TypeError: Cannot read properties of null (reading 'map')
08:49:51.869 | at Partner (/vercel/path1/.next/server/pages/partners/[slug].js:174:62)
08:49:51.870 | at d (/vercel/path1/node_modules/react-dom/cjs/react-dom-server.node.production.min.js:33:498)
08:49:51.870 | at bb (/vercel/path1/node_modules/react-dom/cjs/react-dom-server.node.production.min.js:36:16)
08:49:51.870 | at b.render (/vercel/path1/node_modules/react-dom/cjs/react-dom-server.node.production.min.js:42:43)
08:49:51.870 | at b.read (/vercel/path1/node_modules/react-dom/cjs/react-dom-server.node.production.min.js:41:83)
08:49:51.870 | at exports.renderToString (/vercel/path1/node_modules/react-dom/cjs/react-dom-server.node.production.min.js:52:138)
08:49:51.870 | at Object.renderPage (/vercel/path1/node_modules/next/dist/server/render.js:680:46)
08:49:51.871 | at Object.defaultGetInitialProps (/vercel/path1/node_modules/next/dist/server/render.js:350:67)
08:49:51.871 | at Document.getInitialProps (/vercel/path1/.next/server/pages/_document.js:29:20)
08:49:51.871 | at Object. (/vercel/path1/node_modules/next/dist/shared/lib/utils.js:75:33)
Build error occurred
--
08:49:52.061 | info - Generating static pages (7/7)
08:49:52.064 | Error: Export encountered errors on following paths:
08:49:52.065 | /partners/[slug]: /partners/test
08:49:52.065 | /partners/[slug]: /partners/testdd
08:49:52.065 | at /vercel/path1/node_modules/next/dist/export/index.js:404:19
08:49:52.065 | at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
08:49:52.066 | at async Span.traceAsyncFn (/vercel/path1/node_modules/next/dist/trace/trace.js:79:20)
08:49:52.066 | at async /vercel/path1/node_modules/next/dist/build/index.js:1230:21
08:49:52.066 | at async Span.traceAsyncFn (/vercel/path1/node_modules/next/dist/trace/trace.js:79:20)
08:49:52.066 | at async /vercel/path1/node_modules/next/dist/build/index.js:1092:17
08:49:52.067 | at async Span.traceAsyncFn (/vercel/path1/node_modules/next/dist/trace/trace.js:79:20)
08:49:52.067 | at async Object.build [as default] (/vercel/path1/node_modules/next/dist/build/index.js:65:29)
Locally it says this:
2023-01-20T15:39:03.276Z Failed to compile.
2023-01-20T15:39:03.276Z
2023-01-20T15:39:03.277Z ./pages/partners/integrations/index.tsx:40:3
2023-01-20T15:39:03.277Z Type error: Expression expected.
2023-01-20T15:39:03.277Z
2023-01-20T15:39:03.277Z 38 | const [partners, setPartners] = useState(initialPartners)
2023-01-20T15:39:03.277Z 39 | const [featured, setFeatured] =
2023-01-20T15:39:03.278Z > 40 | const allCategories = Array.from(
2023-01-20T15:39:03.278Z | ^
2023-01-20T15:39:03.278Z 41 | new Set(initialPartners.map((p) => p.category))
2023-01-20T15:39:03.278Z 42 | )
2023-01-20T15:39:03.278Z 43 |
2023-01-20T15:39:03.325Z Error: Command "npm run build" exited with 1
2023-01-20T15:39:03.513Z
I am on a M1 Mac running OS Venture 13.1 I have configured my supabase environment variables locally and on vercel and have added 2 rows to the partner and partner contact supabase. This problem happens once a row is created in the partners table.
Thank you very much for the help I would love to get this app working
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.