You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
install payload beta version npx create-payload-app@beta .
Use website template and select mongo as db
run pnpm build
It starts building
It stops in between without giving any error.
I tried running pnpm start, but get error "Error: Could not find a production build in the '.next' directory. Try building your app with 'next build' before starting the production server. https://nextjs.org/docs/messages/production-start-no-build-id"
Which area(s) are affected? (Select all that apply)
Describe the Bug
Hi,
I am trying to build the website template but not able to build it but not able to successfully build it.
Link to the code that reproduces this issue
https://github.com/rishabhchauhan421/cc_compare
Reproduction Steps
npx create-payload-app@beta .
pnpm build
pnpm start
, but get error "Error: Could not find a production build in the '.next' directory. Try building your app with 'next build' before starting the production server. https://nextjs.org/docs/messages/production-start-no-build-id"Which area(s) are affected? (Select all that apply)
area: core
Environment Info
Binaries:
Node: 23.1.0
npm: 10.9.0
Yarn: N/A
pnpm: 8.12.1
Relevant Packages:
payload: 3.0.0-beta.119
next: 15.0.0
@payloadcms/db-mongodb: 3.0.0-beta.119
@payloadcms/email-nodemailer: 3.0.0-beta.119
@payloadcms/graphql: 3.0.0-beta.119
@payloadcms/live-preview: 3.0.0-beta.119
@payloadcms/live-preview-react: 3.0.0-beta.119
@payloadcms/next/utilities: 3.0.0-beta.119
@payloadcms/payload-cloud: 3.0.0-beta.119
@payloadcms/plugin-form-builder: 3.0.0-beta.119
@payloadcms/plugin-nested-docs: 3.0.0-beta.119
@payloadcms/plugin-redirects: 3.0.0-beta.119
@payloadcms/plugin-search: 3.0.0-beta.119
@payloadcms/plugin-seo: 3.0.0-beta.119
@payloadcms/richtext-lexical: 3.0.0-beta.119
@payloadcms/translations: 3.0.0-beta.119
@payloadcms/ui/shared: 3.0.0-beta.119
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.0.0: Tue Sep 24 23:37:13 PDT 2024; root:xnu-11215.1.12~1/RELEASE_ARM64_T8112
Available memory (MB): 16384
Available CPU cores: 8
The text was updated successfully, but these errors were encountered: