emilbaehr / automatic-app-landing-page

A Jekyll theme for automatically generating and deploying landing page sites for mobile apps.
https://emilbaehr.github.io/automatic-app-landing-page/
MIT License
3.42k stars 1.64k forks source link

Problem building on vercel #81

Open zbyglaw opened 6 months ago

zbyglaw commented 6 months ago
             Error: could not read file /vercel/path0/vendor/bundle/ruby/3.2.0/gems/jekyll-3.9.5/lib/site_template/_posts/0000-00-00-welcome-to-jekyll.markdown.erb: Invalid date '<%= Time.now.strftime('%Y-%m-%d %H:%M:%S %z') %>': Document 'vendor/bundle/ruby/3.2.0/gems/jekyll-3.9.5/lib/site_template/_posts/0000-00-00-welcome-to-jekyll.markdown.erb' does not have a valid date in the YAML front matter.
             ERROR: YOUR SITE COULD NOT BE BUILT:
                    ------------------------------------
                    Invalid date '<%= Time.now.strftime('%Y-%m-%d %H:%M:%S %z') %>': Document 'vendor/bundle/ruby/3.2.0/gems/jekyll-3.9.5/lib/site_template/_posts/0000-00-00-welcome-to-jekyll.markdown.erb' does not have a valid date in the YAML front matter.
Error: Command "jekyll build" exited with 1

trying to publish in vercel and having this issue. Im kinda new at this. Any suggestions?

clementprem commented 4 months ago

add vendor to the exclude list in the config file

exclude:
  - LICENSE
  - README.md
  - CNAME
  - vendor