Closed Mosesdejaviano closed 3 years ago
I don't understand your issue. I'm using latest Hugo v0.88.1 and the theme works fine.
Thanks for your reply. I am using hugo v0.88.1, with Hugo --minify to create public file, in the public file, the module project wasnt found. On the terminal, it returned module project is not supported with this hugo version. So that is why i asked which version of hugo is the module project compatible with?. I really appreciate your prompt response
Sorry, can't help (don't know what you referring to with "module project").
i mean creating a public file using hugo --minify doesnt create project folder in the public folder.
Thanks for the assistance. I have found solution to it.
@Mosesdejaviano same issue here, would you mind sharing your solution?
hi @fabiofenoglio @salim-b , I think @Mosesdejaviano had the following error (which I get), during the hugo build phase :
$ hugo serve -b http://127.0.0.1:4545 -p 4545 --bind 127.0.0.1 -w
WARN 2021/09/28 18:40:38 Module "project" is not compatible with this Hugo version; run "hugo mod graph" for more information.
WARN 2021/09/28 18:40:38 Module "airspace-hugo" is not compatible with this Hugo version; run "hugo mod graph" for more information.
Start building sites …
ERROR 2021/09/28 18:40:38 render of "page" failed: execute of template failed: template: _default/contact.html:3:4: executing "_default/contact.html" at <partial "head.html" .>: error calling partial: "/home/jibl/territoires-et-futurs-work/layouts/partials/head.html:56:102": execute of template failed: template: partials/head.html:56:102: executing "partials/head.html" at <resources.Concat>: error calling Concat: slice []interface {} not supported in concat
ERROR 2021/09/28 18:40:38 render of "page" failed: execute of template failed: template: _default/pricing.html:3:4: executing "_default/pricing.html" at <partial "head.html" .>: error calling partial: "/home/jibl/territoires-et-futurs-work/layouts/partials/head.html:56:102": execute of template failed: template: partials/head.html:56:102: executing "partials/head.html" at <resources.Concat>: error calling Concat: slice []interface {} not supported in concat
ERROR 2021/09/28 18:40:38 render of "page" failed: execute of template failed: template: _default/faq.html:3:4: executing "_default/faq.html" at <partial "head.html" .>: error calling partial: "/home/jibl/territoires-et-futurs-work/layouts/partials/head.html:56:102": execute of template failed: template: partials/head.html:56:102: executing "partials/head.html" at <resources.Concat>: error calling Concat: slice []interface {} not supported in concat
ERROR 2021/09/28 18:40:38 render of "page" failed: execute of template failed: template: _default/service.html:3:4: executing "_default/service.html" at <partial "head.html" .>: error calling partial: "/home/jibl/territoires-et-futurs-work/layouts/partials/head.html:56:102": execute of template failed: template: partials/head.html:56:102: executing "partials/head.html" at <resources.Concat>: error calling Concat: slice []interface {} not supported in concat
Built in 76 ms
Error: Error building site: failed to render pages: render of "page" failed: execute of template failed: template: _default/about.html:3:4: executing "_default/about.html" at <partial "head.html" .>: error calling partial: "/home/jibl/territoires-et-futurs-work/layouts/partials/head.html:56:102": execute of template failed: template: partials/head.html:56:102: executing "partials/head.html" at <resources.Concat>: error calling Concat: slice []interface {} not supported in concat
here is how to reproduce the issue :
~$ export PATH=$PATH:/usr/local/go/bin && go version && hugo version && node --version && npm --version
go version go1.14.4 linux/amd64
Hugo Static Site Generator v0.78.2-959724F0 linux/amd64 BuildDate: 2020-11-13T10:08:14Z
v14.4.0
7.20.5
git clone git@github.com:territoires-et-futurs/siteweb.git ~/territoires-et-futurs-work
cd ~/territoires-et-futurs-work
git checkout ERROR_HUGO_BUILD1 && atom .
npm i
npm run spawn
# and then run :
hugo serve -b http://127.0.0.1:4545 -p 4545 --bind 127.0.0.1 -w
note : npm run spawn will actually install the airspace hugo theme, and setup the entire project layout
@Jean-Baptiste-Lasselle It seems you're using Hugo v0.78.2. The theme requires at least v0.87.
The module project on the airspace-Hugo theme is not compatible with the new Hugo version and 0.87. Please what version is the module project compatible with?