Skip to content

Official website starter fails to deploy to Vercel #17467

Description

@lsaul

Describe the Bug

This occurs on the official website starter template. More details provided in reproduction steps.

SyntaxError: The requested module 'payload' does not provide an export named 'createFolderField'

/vercel/path0/src/collections/Media.ts:9 import { createFolderField } from 'payload' ^ SyntaxError: The requested module 'payload' does not provide an export named 'createFolderField'

Link to the code that reproduces this issue

https://vercel.com/templates/next.js/payload-website-starter

Reproduction Steps

Attempting to deploy the official Payload website starter on Vercel:
https://vercel.com/templates/next.js/payload-website-starter

Click "DEPLOY" at the very top.
Follow the prompts
Add Neon for Postgres
Add Vercel Blob storage
Add prod, cron, and preview secrets for Payload

Image

Build fails due to highlighted error.

Which area(s) are affected?

area: templates

Environment Info

Cloned the repo and ran locally - doesn't reflect Vercel's environment

Binaries:
  Node: 24.18.0
  npm: 11.16.0
  Yarn: 1.22.18
  pnpm: 10.33.0
Relevant Packages:
  payload: 3.82.1
  next: 16.2.7
  @payloadcms/db-vercel-postgres: 3.82.1
  @payloadcms/drizzle: 3.82.1
  @payloadcms/graphql: 3.82.1
  @payloadcms/live-preview: 3.82.1
  @payloadcms/live-preview-react: 3.82.1
  @payloadcms/next/utilities: 3.82.1
  @payloadcms/plugin-cloud-storage: 3.82.1
  @payloadcms/plugin-form-builder: 3.82.1
  @payloadcms/plugin-nested-docs: 3.82.1
  @payloadcms/plugin-redirects: 3.82.1
  @payloadcms/plugin-search: 3.82.1
  @payloadcms/plugin-seo: 3.82.1
  @payloadcms/richtext-lexical: 3.82.1
  @payloadcms/storage-vercel-blob: 3.82.1
  @payloadcms/translations: 3.82.1
  @payloadcms/ui/shared: 3.82.1
  react: 19.2.6
  react-dom: 19.2.6
Operating System:
  Platform: darwin
  Arch: x64
  Version: Darwin Kernel Version 25.5.0: Mon Apr 27 20:38:56 PDT 2026; root:xnu-12377.121.6~2/RELEASE_ARM64_T6000
  Available memory (MB): 16384
  Available CPU cores: 10

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions