payload
payload copied to clipboard
Can't build payload
Describe the Bug
Can't build payload even with the starter template
Link to the code that reproduces this issue
default repo
Reproduction Steps
- npx create-payload-app
- use website template
- run npm build
▲ Next.js 15.0.3
- Environments: .env
- Experiments (use with caution):
· turbo
Creating an optimized production build ...
Failed to compile.
./src/endpoints/seed/index.ts + 8 modules
Unexpected end of JSON input
./node_modules/@payloadcms/richtext-lexical/dist/exports/client/index.js + 9 modules
Unexpected end of JSON input
./node_modules/@payloadcms/ui/dist/exports/client/index.js + 16 modules
Unexpected end of JSON input
./node_modules/@payloadcms/ui/dist/exports/shared/index.js + 20 modules
Unexpected end of JSON input
./node_modules/@radix-ui/react-select/dist/index.mjs + 42 modules
Unexpected end of JSON input
> Build failed because of webpack errors
Which area(s) are affected? (Select all that apply)
Not sure
Environment Info
Binaries:
Node: 23.3.0
npm: 10.9.0
Yarn: 1.22.22
pnpm: 9.14.2
Relevant Packages:
payload: 3.1.1
next: 15.0.3
@payloadcms/email-nodemailer: 3.1.1
@payloadcms/graphql: 3.1.1
@payloadcms/live-preview: 3.1.1
@payloadcms/live-preview-react: 3.1.1
@payloadcms/next/utilities: 3.1.1
@payloadcms/payload-cloud: 3.1.1
@payloadcms/plugin-form-builder: 3.1.1
@payloadcms/plugin-nested-docs: 3.1.1
@payloadcms/plugin-redirects: 3.1.1
@payloadcms/plugin-search: 3.1.1
@payloadcms/plugin-seo: 3.1.1
@payloadcms/richtext-lexical: 3.1.1
@payloadcms/translations: 3.1.1
@payloadcms/ui/shared: 3.1.1
react: 19.0.0-rc-65a56d0e-20241020
react-dom: 19.0.0-rc-65a56d0e-20241020
Operating System:
Platform: darwin
Arch: arm64
Version: Darwin Kernel Version 24.1.0: Thu Oct 10 21:03:15 PDT 2024; root:xnu-11215.41.3~2/RELEASE_ARM64_T6000
Available memory (MB): 16384
Available CPU cores: 8