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
When installing payload via the CPA script in an existing project, the nextjs config doubles up on the withPayload import so the output becomes the following
Updates create-payload-app to update an existing payload installation
- Detects existing Payload installation. Fixes#6517
- If not latest, will install latest and grab the `(payload)` directory
structure (ripped from `templates/blank-3.0`
Link to reproduction
No response
Payload Version
beta.36
Node Version
20
Next.js Version
15-canary.0
Describe the Bug
When installing payload via the CPA script in an existing project, the nextjs config doubles up on the
withPayload
import so the output becomes the followingReproduction Steps
Run the cpa script in a project that already has payload initiliased
pnpm dlx create-payload-app@beta
Adapters and Plugins
create-payload-app
The text was updated successfully, but these errors were encountered: