vercel / nextjs-subscription-payments

Clone, deploy, and fully customize a SaaS subscription application with Next.js.
https://subscription-payments.vercel.app/
MIT License
5.77k stars 1.18k forks source link

Failing build #320

Closed belugawhale3 closed 2 months ago

belugawhale3 commented 3 months ago

I'm failing build on CustomerPortalForm on the import { Tables } from '@/types_db';

My error I'm geting is

./components/ui/AccountForms/CustomerPortalForm.tsx:9:24
--
23:19:23.507 | Type error: Cannot find module '@/types_db' or its corresponding type declarations.
23:19:23.507 |  
23:19:23.507 | 7 \| import Link from 'next/link';
23:19:23.507 | 8 \| import Card from '@/components/ui/Card';
23:19:23.507 | >  9 \| import { Tables } from '@/types_db';
23:19:23.507 | \|                        ^
23:19:23.507 | 10 \|
23:19:23.507 | 11 \| type Subscription = Tables<'subscriptions'>;
23:19:23.507 | 12 \| type Price = Tables<'prices'>;
23:19:23.549 | ELIFECYCLE  Command failed with exit code 1.
23:19:23.575 | Error: Command "pnpm run build" exited with 1

Anybody else having this issue?

belugawhale3 commented 2 months ago

Accidentally had this module in my gitignore