Skip to content

Deploying a template does not work #68

Open
@chadlavi

Description

@chadlavi

Describe the bug

If you try to deploy one of the canned example templates at https://decapcms.org/docs/start-with-a-template/, the deploy in netlify will fail.

To Reproduce

  1. Go to https://decapcms.org/docs/start-with-a-template/
  2. Click on the "Deploy to Netlify" button under the "Next.js Blog Template" item
  3. Connect to either GitHub or GitLab (fails identically either way)
  4. The repo is cloned to your github or gitlab account
  5. you are redirected to netlify and the deployment of the template starts
  6. The build step will error out

Expected behavior

This should work

Screenshots

The template I used from your site:

Screenshot 2024-05-13 at 15 24 00

The error in the build log in netlify:

Screenshot 2024-05-13 at 15 24 27

The AI generated explanation for what went wrong:

Screenshot 2024-05-13 at 15 24 15

Applicable Versions:

  • Decap CMS version: [e.g. 2.0.4]
  • Git provider: GitLab in this case
  • OS: Not applicable
  • Browser version Not applicable
  • Node.JS version:

CMS configuration

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions