#Next.js 16, cacheComponents - /admin errors

4 messages · Page 1 of 1 (latest)

grizzled solstice
#

Hey, I've already wrapped my payload layout with the suspense boundary and it works fine, but now from time to time i get errors regarding @paylodcms/storage-s3, @weary urchin/storage-vercel-blob. I've already tried putting them in the

But they also require some frontend apis:

⨯ Error: Failed to load external module @payloadcms/storage-vercel-blob-635b51a74c0582ec/client: TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".css" for /Users/bryja/Sites/enigma-aero/node_modules/.pnpm/react-image-crop@10.1.8_react@19.2.4/node_modules/react-image-crop/dist/ReactCrop.css
    at async (.next/dev/server/chunks/ssr/[externals]__b14d1440._.js:55:13) {
  type: 'Error',
  page: '/admin/collections/pages/69942112e57597c2d7eeded5'
}

Restarting the dev environment seems to work for now, but i'm worried it might somehow affect the production.

young radishBOT
sharp rock
#

#temp-nextjs-16 message

Seems like quite a big change to support cacheComponents. Recommended to use the "useCache" config instead to use the new cache directive and not go with cacheComponents

grizzled solstice
#

Oh, ok thanks