inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

묻고 답해요

172만명의 커뮤니티!! 함께 토론해봐요.

drizzle-zod로 변환한 videoUpdateSchema를 z.infer로 추론하면 타입에러가 나타납니다.

미해결

Next.js 15로 완성하는 실전 YouTube 클론 개발

'BuildSchema<"update", { id: PgColumn<{ name: "id"; tableName: "videos"; dataType: "string"; columnType: "PgUUID"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: true; isAutoincrement: false; ... 4 more ...; generated: undefined; }, {}, {}>; ... 15 more ...; updatedAt: PgColumn<...>...' 형식이 'ZodType<any, any, any>' 제약 조건을 만족하지 않습니다. 'ZodObject<{ id: ZodOptional<ZodUUID>; title: ZodOptional<ZodString>; description: ZodOptional<ZodNullable<ZodString>>; ... 13 more ...; updatedAt: ZodOptional<...>; }, { ...; }>' 형식에 'ZodType<any, any, any>' 형식의 type, parse, getType, getOrReturnCtx 외 7개 속성이 없습니다. 라는 에러 문구가 코드 에디터에 나타납니다.

  • react
  • postgresql
  • 클론코딩
  • next.js
  • tailwindcss
  • drizzle
차동민 댓글 1 좋아요 0 조회수 170

폴더구조

미해결

Next.js 15로 완성하는 실전 YouTube 클론 개발

해당 영상에서 사용된 폴더구조는 어떤 아키텍처를 따른것일까요?

  • react
  • postgresql
  • 클론코딩
  • next.js
  • tailwindcss
  • drizzle
고성인 댓글 1 좋아요 0 조회수 116

[ Server ] Error: Cannot read properties of undefined (reading 'useSuspenseQuery')

미해결

Next.js 15로 완성하는 실전 YouTube 클론 개발

아래와 같이 코드르 작성하고 그냥 PageClient 만 불러왔을 때도 정상 동작하는데 useSuspenseQuery 를 사용하면 에러가 발생합니다. page.tsx import { trpc } from "@/trpc/server"; import { PageClient } from "./client"; export default async function Home() { void trpc.hello.prefetch({ text: "Kyuleelim" }) return ( <div> <PageClient /> </div> ); } client.tsx "use cilent" import { trpc } from "@/trpc/client" export const PageClient = () => { const [data] = trpc.hello.useSuspenseQuery({ text: "Kyuleelim", }); return ( <div> {/* Page client */} Page Client says: {data.greeting} </div> ) }

  • react
  • postgresql
  • 클론코딩
  • next.js
  • tailwindcss
  • drizzle
임규리 댓글 1 좋아요 0 조회수 104

ngrok 실행 안됨

미해결

Next.js 15로 완성하는 실전 YouTube 클론 개발

ngork http --domain ----- 3000 명령어 실행 시 해당 오류가 발생하면서 실행이 안됩니다 어떻게 해결하면 될까요?

  • react
  • postgresql
  • 클론코딩
  • next.js
  • tailwindcss
  • drizzle
임규리 댓글 1 좋아요 0 조회수 369

dirzzle-kit push error

미해결

Next.js 15로 완성하는 실전 YouTube 클론 개발

bunx drizzle-kit push 명령어 실행 시 이런 오류가 발생합니다. 어떻게 해결해야할까요?

  • react
  • postgresql
  • 클론코딩
  • next.js
  • tailwindcss
  • drizzle
임규리 댓글 2 좋아요 0 조회수 137

Link component의 legacyBehavior 속성이 deprecated

미해결

Next.js 15로 완성하는 실전 YouTube 클론 개발

next15 의 Link component의 legacyBehavior 속성이 deprecated 되었습니다. 대체하기 위해 강의영상에서처럼 useRouter 를 사용하면 될까요?

  • react
  • postgresql
  • 클론코딩
  • next.js
  • tailwindcss
  • drizzle
hanbrang 댓글 1 좋아요 0 조회수 100

AI음성 전반적으로 수정이 필요한거같습니다.

미해결

Next.js 15로 완성하는 실전 YouTube 클론 개발

AI음성 전반적으로 수정이 필요한거같습니다. mx-auto "먹스 오토" 라고 읽기도하고 영어 속성 <-> 한글 전환이 자연스럽지 못한것 같습니다.

  • react
  • postgresql
  • 클론코딩
  • next.js
  • tailwindcss
  • drizzle
fdongfdong 댓글 0 좋아요 0 조회수 111

AI 음성 에러 수정 요청

미해결

Next.js 15로 완성하는 실전 YouTube 클론 개발

수정 부탁드립니다. "에서만 사용할 수 있는 기능입니다."

  • react
  • postgresql
  • 클론코딩
  • next.js
  • tailwindcss
  • drizzle
fdongfdong 댓글 1 좋아요 1 조회수 119

ErrorBoundary component 를 server component 에서 사용하는것

해결됨

Next.js 15로 완성하는 실전 YouTube 클론 개발

ErrorBoundary component ( react-error-boundary ) 는 client component 인데 수업에서는 server component 에서 사용하고 있는걸로 확인됩니다. 괜찮을까요?

  • react
  • postgresql
  • 클론코딩
  • next.js
  • tailwindcss
  • drizzle
hanbrang 댓글 2 좋아요 1 조회수 221

웹훅 동기화 에러

미해결

Next.js 15로 완성하는 실전 YouTube 클론 개발

아래와 같은 에러 발생한다면 drizzle-orm 를 최신버전으로 업데이트 하시면 해결됩니다.

  • react
  • postgresql
  • 클론코딩
  • next.js
  • tailwindcss
  • drizzle
재쿤 댓글 1 좋아요 1 조회수 251

이 강의를 수강하려면 React와 javascript만 알고있으면 되나요?

해결됨

Next.js 15로 완성하는 실전 YouTube 클론 개발

프로젝트 하나 남기고 싶어서 강의는 구매했는데 React를 잘 몰라서 공부를 하고 난 뒤 강의를 수강하려고 합니다. 강의 설명에 언급된 React, javascript 외 추가적으로 더 알아야하는 사전 지식이 있을까요?

  • react
  • postgresql
  • 클론코딩
  • next.js
  • tailwindcss
  • drizzle
박민석 댓글 1 좋아요 1 조회수 301

인기 태그

인프런 TOP Writers

주간 인기글