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

Deploying a template does not work #7207

Open
chadlavi opened this issue May 13, 2024 · 0 comments
Open

Deploying a template does not work #7207

chadlavi opened this issue May 13, 2024 · 0 comments
Labels
type: bug code to address defects in shipped code

Comments

@chadlavi
Copy link

chadlavi commented May 13, 2024

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

@chadlavi chadlavi added the type: bug code to address defects in shipped code label May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug code to address defects in shipped code
Projects
None yet
Development

No branches or pull requests

1 participant