kakawait / hugo-tranquilpeak-theme

A gorgeous responsive theme for Hugo blog framework
https://tranquilpeak.kakawait.com
GNU General Public License v3.0
926 stars 525 forks source link

Error checking out submodules? #583

Closed db369 closed 1 year ago

db369 commented 1 year ago

Configuration

Actual behavior

Using R (Posit) and blogdown to build site. Github and netlify to host. Pushing to netlify results in the following error:

Error checking out submodules: : fatal: No url found for submodule path 'themes/hugo-tranquilpeak-theme' in .gitmodules : exit status 128

I tried removing the entire theme and re-installing, but same results.

Expected behavior

Web site runs nicely locally

Steps to reproduce the behavior

db369 commented 1 year ago

It seems I fixed this by adding the url to your git to my .gitmodules file and resyncing.

db369 commented 1 year ago

(Trying to close issue)

No-drink commented 1 year ago

I think the reason is because there is a .git folder in the theme folder, this will cause the git cannot recognize the files in the theme folder. Just delete it can fix it.