Prerendered dynamic endpoint has path collision.
PrerenderDynamicEndpointPathCollide: Could not render
PATHNAMEwith anundefinedparam as the generated path will collide during prerendering. Prevent passingundefinedasparamsfor the endpoint’sgetStaticPaths()function, or add an additional extension to the endpoint’s filename.
무엇이 잘못되었나요?
섹션 제목: 무엇이 잘못되었나요?엔드포인트가 undefined 매개변수로 미리 렌더링되어 생성된 경로가 다른 경로와 충돌합니다.
undefined 전달을 방지할 수 없는 경우 엔드포인트 파일 이름에 확장자를 추가하여 다른 이름의 파일을 생성할 수 있습니다. 예를 들어 pages/api/[slug].ts의 이름을 pages/api/[slug].json.ts로 바꿉니다.
더 보기:
Error Reference