./node_modules/next-sanity/dist/preview.js
export 'PreviewSuspense' (reexported as 'PreviewSuspense') was not found in '@sanity/preview-kit' (module has no exports)
Import trace for requested module:
./node_modules/next-sanity/dist/preview.js
./app/(learn)/learn/[courseSlug]/[sectionSlug]/[postSlug]/page.tsx
./node_modules/next-sanity/dist/preview.js
export 'definePreview' (reexported as 'definePreview') was not found in '@sanity/preview-kit' (module has no exports)
Import trace for requested module:
./node_modules/next-sanity/dist/preview.js
./app/(learn)/learn/[courseSlug]/[sectionSlug]/[postSlug]/page.tsx
I am not getting this error with nextjs-blog-cms-sanity-v3. Is this error just telling me that something is wrong with the way I set up preview mode? Will keep looking over my files.
Ok... it was just that my auto import was export { PreviewSuspense } from 'next-sanity/preview' instead of import { PreviewSuspense } from '#/components/preview/PreviewSuspense'
I am not getting this error with nextjs-blog-cms-sanity-v3. Is this error just telling me that something is wrong with the way I set up preview mode? Will keep looking over my files.
Thanks! ❤️