Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to build project #8889

Closed
rishabhchauhan421 opened this issue Oct 28, 2024 · 2 comments
Closed

Not able to build project #8889

rishabhchauhan421 opened this issue Oct 28, 2024 · 2 comments

Comments

@rishabhchauhan421
Copy link

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.

Image

Link to the code that reproduces this issue

https://github.com/rishabhchauhan421/cc_compare

Reproduction Steps

  1. install payload beta version npx create-payload-app@beta .
  2. Use website template and select mongo as db
  3. run pnpm build
  4. It starts building
  5. It stops in between without giving any error.
  6. 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)

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

@rishabhchauhan421 rishabhchauhan421 added status: needs-triage Possible bug which hasn't been reproduced yet v3 labels Oct 28, 2024
@rishabhchauhan421
Copy link
Author

resolved issue by downgrading node to v20.18.0

@github-actions github-actions bot removed the status: needs-triage Possible bug which hasn't been reproduced yet label Oct 28, 2024
Copy link
Contributor

This issue has been automatically locked.
Please open a new issue if this issue persists with any additional detail.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 30, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant