decaporg / decaporg/decap-website

Deploying a template does not work

Open
#68 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
SCSS
Stars
13
Forks
319
Avg merge
6d 3h
Merged PRs (30d)
1

Description

**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
- In my case, this was the result: https://gitlab.com/chadlavimoniere/20240513-nextjs-netlify-blog-template
- note that that repo is _completely blank_. I don't think that should be the case?
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**

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.