Any method to bye-pass CanonicalPageID error?

Author: PersistVentureCreated Aug 13, 2022Updated Jun 7, 2025

Hi @transitive-bullshit,

is there any method to bye pass below error while deploy to vercel:

if (map[canonicalPageId]) { // you can have multiple pages in different collections that have the same id // TODO: we may want to error if neither entry is a collection page console.warn('error duplicate canonical page id', { canonicalPageId, pageId, existingPageId: map[canonicalPageId] })

Thanks.

Source: transitive-bullshit/nextjs-notion-starter-kit