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

[BUG] - Issue deploying with Cloudflare pages #388

Closed
mrhappyma opened this issue Jul 31, 2022 · 1 comment
Closed

[BUG] - Issue deploying with Cloudflare pages #388

mrhappyma opened this issue Jul 31, 2022 · 1 comment
Labels

Comments

@mrhappyma
Copy link

Hello!
I am having trouble deploying my site with Cloudflare pages. It otherwise works fine, I've tried it locally and on Netlify.

17:38:50.194 | Executing user command: hugo
-- | --
17:38:50.261 | Error: "/opt/buildhome/repo/themes/castanet/layouts/partials/row-taxonomy.html:5:1": parse failed: template: partials/row-taxonomy.html:5: illegal number syntax: "-"
17:38:50.267 | Failed: build command exited with code: 255
17:38:50.990 | Failed: an internal error occurred
@mrhappyma mrhappyma added the bug label Jul 31, 2022
@mrhappyma
Copy link
Author

After some intense googling I found the issue - Cloudflare pages was using an old version of Hugo. To fix this I set the environment variable HUGO_VERSION to the version number I had installed on my computer (0.101.0) and it worked.

Not a problem with castanet at all.

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

1 participant