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

Can't render the site with latest Hugo for Windows #91

Closed
celsomiranda opened this issue Oct 2, 2018 · 4 comments
Closed

Can't render the site with latest Hugo for Windows #91

celsomiranda opened this issue Oct 2, 2018 · 4 comments
Labels

Comments

@celsomiranda
Copy link

This is what the console gives me if I try to serve the example files.

Something to do with minification I guess.

Also, the theme Demo doesn't load a bunch of resources including the css files.

Building sites … ERROR 2018/10/02 13:14:37 Error while rendering "page" in "projects\\design\\": template: projects\single.html:36:11: executing "js-include" at <partial "footer/scri...>: error calling partial: template: partials/footer/scripts.html:3:47: executing "partials/footer/scripts.html" at <resources.Concat>: error calling Concat: slice []interface {} not supported in concat
ERROR 2018/10/02 13:14:37 Error while rendering "page" in "blog\\": template: blog\single.html:36:11: executing "js-include" at <partial "footer/scri...>: error calling partial: template: partials/footer/scripts.html:3:47: executing "partials/footer/scripts.html" at <resources.Concat>: error calling Concat: slice []interface {} not supported in concat
ERROR 2018/10/02 13:14:37 Error while rendering "page" in "projects\\writing\\": template: projects\single.html:36:11: executing "js-include" at <partial "footer/scri...>: error calling partial: template: partials/footer/scripts.html:3:47: executing "partials/footer/scripts.html" at <resources.Concat>: error calling Concat: slice []interface {} not supported in concat
ERROR 2018/10/02 13:14:37 Error while rendering "page" in "projects\\photography\\": template: projects\single.html:36:11: executing "js-include" at <partial "footer/scri...>: error calling partial: template: partials/footer/scripts.html:3:47: executing "partials/footer/scripts.html" at <resources.Concat>: error calling Concat: slice []interface {} not supported in concat
ERROR 2018/10/02 13:14:37 Error while rendering "taxonomy" in "": template: _default\taxonomy.html:36:11: executing "js-include" at <partial "footer/scri...>: error calling partial: template: partials/footer/scripts.html:3:47: executing "partials/footer/scripts.html" at <resources.Concat>: error calling Concat: slice []interface {} not supported in concat
ERROR 2018/10/02 13:14:37 Error while rendering "section" in "blog\\": template: blog\list.html:36:11: executing "js-include" at <partial "footer/scri...>: error calling partial: template: partials/footer/scripts.html:3:47: executing "partials/footer/scripts.html" at <resources.Concat>: error calling Concat: slice []interface {} not supported in concat
ERROR 2018/10/02 13:14:37 Error while rendering "taxonomyTerm" in "": template: _default\terms.html:36:11: executing "js-include" at <partial "footer/scri...>: error calling partial: template: partials/footer/scripts.html:3:47: executing "partials/footer/scripts.html" at <resources.Concat>: error calling Concat: slice []interface {} not supported in concat
ERROR 2018/10/02 13:14:37 Error while rendering "section" in "projects\\": template: projects\list.html:36:11: executing "js-include" at <partial "footer/scri...>: error calling partial: template: partials/footer/scripts.html:3:47: executing "partials/footer/scripts.html" at <resources.Concat>: error calling Concat: slice []interface {} not supported in concat
ERROR 2018/10/02 13:14:37 Error while rendering "home" in "": template: index.html:108:11: executing "index.html" at <partial "footer/scri...>: error calling partial: template: partials/footer/scripts.html:3:47: executing "partials/footer/scripts.html" at <resources.Concat>: error calling Concat: slice []interface {} not supported in concat
ERROR 2018/10/02 13:14:37 Error while rendering "404" in "": template: 404.html:36:11: executing "js-include" at <partial "footer/scri...>: error calling partial: template: partials/footer/scripts.html:3:47: executing "partials/footer/scripts.html" at <resources.Concat>: error calling Concat: slice []interface {} not supported in concat
Total in 382 ms
Error: Error building site: logged 10 error(s)
@hanzei
Copy link
Collaborator

hanzei commented Oct 2, 2018

This theme doesn't work with Hugo 0.49 due to a bug gohugoio/hugo#5269. Switching to Hugo 0.48 should resolve this issue.

@celsomiranda
Copy link
Author

Thanks. :)

@andreas-h
Copy link

Thanks for the lightning-fast reply :-) Is this rather "currently doesn't work, but we're working on it" or "doesn't work, and won't be fixed soon"? I'd offer to lend a hand, but my Hugo-fu is extremely limited (just started looking into it some days ago)?

@hanzei
Copy link
Collaborator

hanzei commented Oct 3, 2018

The issue is allready fixed on the hugo master branch. You can check out the PR which fixed this: gohugoio/hugo#5274. There might be a patch release comming soon for hugo, ony bep knows. Otherwise we have to wait for hugo 0.50.

@hanzei hanzei added the invalid label Oct 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants