gohugoio/hugo
Documented errors, page 5 of 8. Back to gohugoio/hugo
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| failed to parse Resource | exception | error | template, execute-as-template, parse-error, asset-pipeline |
| nil deps on site | panic | critical | initialization, deps, build, panic, internal-invariant |
| both count and seq must be provided | validation | error | hugo, template, collections, shuffle, nil-check, argument-validation |
| failed to create CPU profile | exception | error | hugo, profiling, filesystem, go |
| index not found | validation | error | related, search, config, index |
| truncate requires a length and a string | validation | error | template-function, strings, truncate, arity, argument |
| called apply using as type | validation | error | hugo, go-template, collections, type-mismatch, reflect |
| failed to convert metadata for file | exception | error | hugo, import, jekyll, front-matter |
| failed to copy module file to vendor | exception | error | modules, vendoring, filesystem, copy, permissions |
| length argument must be an integer | validation | error | template-function, strings, substr, type-coercion, argument |
| render of failed | exception | error | template, rendering, layout, hugo |
| crypto.Hash: is not a supported hash algorithm | exception | error | hugo, go-templates, crypto, hash, invalid-argument |
| failed to detect format from content | validation | error | template-function, transform, remarshal, serialization, parsing |
| imaging.avif.compression must be one of lossy or lossless… | validation | error | hugo, imaging, avif, config-validation |
| is a method of type returning two values but the second… | exception | error | hugo, go-templates, where, reflection, method-signature |
| too many arguments to jsonify | validation | error | hugo, template, encoding, jsonify, arity |
| failed to list modules | exception | error | modules, go-toolchain, hugo-module |
| failed to start trace | exception | error | hugo, tracing, runtime, go |
| template: is an incomplete or empty template | exception | error | go, html-template, parse, execute |
| can't iterate over a nil value | validation | error | hugo, go-template, collections, nil-check, reflect |
| failed to parse root certificate | exception | error | hugo, server, tls, mkcert, certificate |
| http* aliases not supported | validation | error | front-matter, aliases, validation, page |
| imaging.avif.quality must be between 1 and 100 inclusive… | validation | error | hugo, imaging, avif, config-validation, quality |
| invalid log level: , must be one of debug, warn, info or… | validation | error | cli, logging, config, validation, hugo |
| webp codec is not available | exception | critical | hugo, image-processing, webp, wasm, startup |
| failed to create target directory for | exception | error | filesystem, permissions, content |
| failed to read archetype file | exception | error | archetype, filesystem |
| invalid Page received in Ref | validation | error | urls, ref, template, page, type-assertion, hugo |
| invalid path | validation | error | content-adapter, gotmpl, type-mismatch |
| permalinks: failed to decode target | exception | error | hugo, permalinks, configuration, type-mismatch |
| text is already rendered, repeating it may cause infinite… | validation | error | hugo, template, renderstring, recursion |
| deploy not supported in this version of Hugo; install a… | exception | error | deploy, build-tags, go, hugo |
| related threshold must be between 0 and 100 | validation | error | related, config, validation, threshold |
| role name is invalid | validation | error | roles, configuration, validation |
| alias "" is an empty string | validation | warning | alias, front-matter, validation, hugolib |
| requires a numeric argument | validation | error | hugo, template, math, type-validation, trigonometry |
| can't apply over | exception | error | collections, apply, template, type-mismatch, reflection |
| method .Params is currently not supported in post-publish… | panic | error | post-publish, resource, unsupported-method, hugo |
| already exists | validation | error | hugo, cli, filesystem, scaffold |
| cannot use --renderToMemory with --destination | validation | error | hugo, server, configuration, flags |
| failed to apply mounts for project | exception | error | modules, config, mounts, hugo-module |
| failed to decode filecache config | validation | error | cache, filecache, config, mapstructure, duration, hugo |
| failed to decode sites from front matter | exception | error | hugo, front-matter, multilingual, sites-matrix, configuration |
| failed to parse URL for resource | exception | error | resources, remote, url, validation, network |
| failed to resolve media type for suffix | exception | error | hugo, media-type, markup, content, configuration |
| failed to start CPU profile | exception | error | hugo, profiling, pprof, go |
| is an unexported field of struct type | exception | error | hugo, go-templates, where, reflection, unexported, struct |
| can't iterate over a nil value of type | validation | error | hugo, template, collections, where, nil-pointer |
| id must not contain forward slashes | validation | error | esbuild, batch, js, validation, paths |
| index of nil pointer | exception | error | go, text-template, index, nil-pointer, reflect |
| need at least 2 arguments to append | validation | error | hugo, go-template, collections, argument-validation, arity |
| empty path is reserved for the home page | validation | error | hugo, content-adapter, page-config, paths, validation |
| error in Parse | exception | error | template, urls, parse, type-conversion |
| failed to compile Redirect header glob | exception | error | config, server, redirects, headers, glob |
| html/template: is undefined | exception | error | go, html-template, execute-template, lookup |
| failed to resolve output path | exception | error | convert, paths, cli, filesystem, hugo |
| can't apply the operator to the values | exception | error | math, templates, reflection, go, hugo |
| cannot 3-index slice a string | validation | error | template, slice, string, text-template |
| invalid output format configuration; wrong type for media… | validation | error | media-types, output-formats, type-mismatch, config, hugo |
| non-comparable type | validation | error | template, comparison, eq, non-comparable, text-template |
| permalinks: unsupported config type %T | validation | error | hugo, permalinks, configuration, type-mismatch |
| : failed to transform ( ) | exception | error | transform, build-failure, asset-pipeline, wrapper |
| arguments to symdiff must be slices or arrays | exception | error | go, hugo, template, collections, symdiff, type-error |
| failed to parse certificate | exception | error | hugo, server, tls, x509, certificate |
| failed to parse clock | exception | error | config, clock, rfc3339, testing, allconfig |
| ImportOnLoadFunc failed to resolve | exception | error | esbuild, batch, resolve, template |
| failed to make target dir | exception | error | modules, vendoring, filesystem, mkdir, permissions |
| invalid module.replacements | validation | error | hugo, module-replacements, configuration |
| this feature is not available in your current Hugo version… | exception | error | features, build-tags, scss, go, hugo |
| failed to verify certificate | exception | error | hugo, server, tls, x509, certificate |
| invalid Page received in RelRef | validation | error | urls, relref, template, page, type-assertion, hugo |
| palette must have at least two colors | panic | error | image-filter, dither, palette, validation, hugo |
| the maximum requested value | validation | error | go, hugo, template, collections, random, validation, bounds-check |
| cannot append slice of | validation | error | collections, append, slice, type-mismatch, reflection |
| front matter field must be a map | validation | error | front-matter, params, config, decode |
| targetPath cannot be empty | validation | error | hugo, template, css, chroma, config |
| final image width will be less than 1 pixel: check padding… | panic | error | image-filter, padding, crop, validation, hugo |
| first argument must be a map | validation | error | hugo, template, renderstring |
| function has return values; should be 1 or 2 | validation | error | go, text-template, funcs, reflect, signature |
| index of untyped nil | exception | error | go, text-template, index, nil, reflect |
| invalid avif config | validation | error | hugo, imaging, avif, config-validation |
| rst2html / rst2html.py not found in $PATH, cannot render | exception | error | rst, docutils, external-binary, path, python, rendering |
| failed to parse file | exception | error | hugo, import, jekyll, front-matter |
| failed to resolve output formats | exception | error | hugo, output-format, front-matter, configuration |
| format not supported | exception | error | hugo, image-processing, codec, format-detection |
| html/template: is an incomplete template | exception | error | go, html-template, execute-template, parse |
| index out of range | validation | error | go, text-template, index, bounds, out-of-range |
| the number can't be divided by zero at modulo operation | validation | error | hugo, template, math, modulo, divide-by-zero |
| union does not support slices or arrays of uncomparable… | validation | error | hugo, template, collections, union, type-mismatch, comparable |
| webp: image is too large to encode | console | error | webp, image, limits |
| can't make permalink from absolute link | panic | critical | paths, permalink, url, panic, absolute-link |
| failed to build JS bundle | exception | critical | esbuild, batch, build |
| failed to decode sitemap config in front matter | exception | error | front-matter, sitemap, config, decode |
| failed to open non-content file | exception | error | content, archetype, filesystem |
| Transform must be performed with NoShift=true | panic | critical | doctree, walker, api-misuse, panic |
| failed to parse certificate PEM | exception | error | hugo, server, tls, certificate, pem |
| failed to parse Markdown attributes; you may need to quote… | console | error | markdown, goldmark, codeblock, attributes |
| invalid cache dir | panic | critical | cache, config, panic, filesystem |
| must not be run from the file system root | validation | error | modules, filesystem, safety, go, hugo, cli |
| must provide an image and one or more filters | validation | error | hugo, template, images, filter, arity |