sparanoid/almace-scaffolding

Build Failing With Invalid Date Error

biocross opened this issue · 2 comments

I cloned the repo locally and followed the instructions here. But the website fails to build on running grunt serve with the following error:

Running "jekyll:serve" (jekyll) task
`bundle exec jekyll build --destination _site --config _config.yml,_amsf.yml,_app/_data/curtana.yml,_config.dev.yml --drafts --future` was initiated.

Configuration file: _config.yml
Configuration file: _amsf.yml
Configuration file: _app/_data/curtana.yml
Configuration file: _config.dev.yml
            Source: _app
       Destination: _site
 Incremental build: disabled. Enable with --incremental
      Generating... 
  Liquid Exception: Invalid Date: '"\n \n \n\n \n \n \n"' is not a valid datetime. in /_layouts/default.html
             ERROR: YOUR SITE COULD NOT BE BUILT:
                    ------------------------------------
                    Invalid Date: '"\n \n \n\n \n \n \n"' is not a valid datetime.
Warning:   Liquid Exception: Invalid Date: '"\n \n \n\n \n \n \n"' is not a valid datetime. in /_layouts/default.html
             ERROR: YOUR SITE COULD NOT BE BUILT:
                    ------------------------------------
                    Invalid Date: '"\n \n \n\n \n \n \n"' is not a valid datetime. Use --force to continue.

Aborted due to warnings.

screen shot 2017-10-16 at 1 54 44 am

When i build with grunt serve --force, I get the following error:
screen shot 2017-10-16 at 1 53 46 am

Is there something I'm missing here?

For some reason, after removing all the default posts, building, and then re-adding the posts and re-building solved the issue for me.

@biocross sorry for the trouble, just fixed this issue. Please run the following command to see if it works:

$ grunt theme-update
$ grunt serve