gohugoio/hugo
Documented errors, page 4 of 8. Back to gohugoio/hugo
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| invalid cache config | panic | critical | cache, config, panic, filesystem |
| did not match a valid Page Kind | validation | error | hugo, cascade, page-kind, front-matter, config-validation |
| failed to download modules | exception | error | modules, go-toolchain, network, hugo-module |
| failed to prune cache | exception | error | cache, filecache, prune, gc, filesystem, permissions, hugo |
| invalid targetType: expected either slice or map, received | validation | error | metadecoders, csv, config, api-misuse, hugo |
| invalid value for syntaxHighlight | validation | error | config, rst, validation, enum, syntax-highlighting |
| %s: %q | exception | error | modules, mounts, filesystem, permissions, hugo-module |
| slice of nil pointer | exception | error | template, slice, nil-pointer, text-template |
| failed to resolve to an archetype template | validation | error | content, archetype, cli |
| startLevel | validation | error | table-of-contents, template, type-coercion, validation |
| %T is not an image filter | panic | error | image-filter, type-mismatch, validation, hugo |
| URLs with protocol (http*) not supported | validation | error | front-matter, url, validation, page |
| pageOutput is nil for output idx | panic | error | pages, output-formats, rendering, panic, internal-invariant |
| template: pattern matches no files: %#q | exception | error | go, html-template, parse-fs, embed, filesystem |
| cannot vendor module | validation | error | modules, vendoring, mounts, config |
| failed to read import | exception | error | esbuild, assets, io, batch |
| no modules loaded (need at least the main module) | validation | critical | config, hugo, module, go, cli |
| %s | exception | error | esbuild, error-reporting, diagnostics |
| error copying static files | exception | error | hugo, static-files, filesystem, build |
| could not determine content directory for | exception | error | filesystem, mounts, modules, config, hugo |
| failed to create config from modules config | exception | error | modules, config, decoding, themes |
| failed to decode module download result | exception | error | modules, go-toolchain, json, hugo-module |
| failed to decode modules list | exception | error | modules, go-toolchain, json, hugo-module |
| failed to execute template | exception | error | templates, render, runtime |
| failed to read dir | exception | error | modules, filesystem, io, hugo-module |
| failed to resolve CSS @import | exception | error | css, postcss, import-resolution, node-modules |
| npm pack: unsupported workspaces type %T | validation | error | hugo, npm-pack, workspaces, type-mismatch |
| server startup failed | exception | error | hugo, server, network, port, bind |
| stopLevel | validation | error | table-of-contents, template, type-coercion, validation |
| failed to parse dimension | validation | error | page, dimensions, rotate, templates |
| no layout given | validation | error | template, rendering, layout |
| timeout | console | error | wasm, timeout, image, warpc |
| no Key set in Resource | validation | error | template-function, transform, unmarshal, resources, caching, hugo |
| type %T not supported in Resource transformations | validation | error | hugo, resource, pipeline, template, type-error |
| ${value} | exception | error | warpc, wasm, javascript, quickjs |
| archetype directory ( ) not supported | validation | error | archetype, content-factory, hugolib, filesystem |
| indexing currently not supported for index | validation | error | related, indexing, type-mismatch, keywords |
| no Dart Sass binary found in $PATH | exception | error | dart-sass, sass, environment, binary-not-found, path |
| no site | panic | critical | pages, site, providers, panic, internal-invariant |
| project config… | validation | error | config, goldmark, render-hooks, image, markup |
| unknown media type | validation | error | media-types, config, validation, content-types |
| failed to create filter for | exception | error | sitesmatrix, filter, glob, validation |
| failed to execute binary | exception | error | hexec, run, external-process, stderr, pipeline |
| npm pack: failed to parse | exception | error | hugo, npm-pack, json |
| operator argument must be string type | validation | error | hugo, template, collections, where, type-error |
| Error reading from stdin | exception | error | warpc, wasm, stdin, io, javascript |
| : shortcode must be closed or self-closed | validation | error | shortcode, template, syntax, hugo |
| target path is not a known content format | validation | error | content, media-types, cli |
| too many fields in options parameter to NumFmt | validation | error | hugo, template, lang, formatting, argument-validation |
| can't sort | validation | error | hugo, template, collections, sort, type-error |
| DeleteFunc: unknown type %T | panic | critical | hugolib, doctree, shifter, internal, panic |
| failed to compile Headers glob | exception | error | config, server, glob, headers |
| invalid character | validation | error | template, transform, unmarshal, csv, delimiter |
| invalid font source | panic | error | image-filter, text-rendering, font, resource-loading, hugo |
| language not found | validation | error | cli, config, i18n, language, validation, hugo |
| len of type | exception | error | template, len, reflection, text-template |
| failed to create page meta from file | exception | error | page, bundle, front-matter, content-map, hugolib |
| failed to decode gif | exception | error | image-processing, decode, gif, corrupt-file |
| complement needs at least two arguments | validation | error | hugo, template, collections, complement, arity, argument-validation |
| invalid index type . Must be one of | validation | error | related, config, validation, index-type |
| multihost change detected, please restart server | exception | warning | config, server, multihost, hugo, live-reload |
| is a root folder and not allowed as cache dir | validation | error | cache, filecache, config, safety, paths, hugo |
| cannot parse as a media type | validation | error | media-types, mime, parsing, validation |
| failed to render shortcode | exception | error | shortcode, render, templates, content |
| unknown output format | validation | warning | config, output-format, outputs, allconfig |
| failed to acquire a build lock | exception | error | filesystem, locking, concurrency |
| is not a valid cache name | validation | error | cache, filecache, config, validation, hugo |
| the configured defaultContentRole | validation | error | roles, configuration, validation |
| type %T is not a PageGroup | exception | error | hugo, pages, pagegroup, type-mismatch, templates |
| argument must be a slice | validation | error | hugo, template, collections, reverse, type-mismatch, reflection |
| failed to create config | exception | error | config, languages, internal |
| nil is not a valid key to group by | validation | error | hugo, template, collections, group, nil-check |
| isn't a field of struct type | exception | error | hugo, go-templates, where, reflection, struct, typo |
| cannot unmarshal CSV into %T: invalid targetType: expected… | validation | error | csv, metadecoders, config, api-misuse, hugo |
| crypto.Hash: expected 1 or 2 arguments, got | exception | error | hugo, go-templates, crypto, hash, arity |
| failed to copy to | exception | error | convert, filesystem, copy, cli, permissions, hugo |
| invalid arguments to Seq | validation | error | hugo, template, collections, seq, type-coercion, argument-validation |
| failed to compile permalink target | exception | error | hugo, permalinks, sites-matrix, multilingual, configuration |
| failed to convert %T to a string slice | exception | error | types, string-slice, convert, config |
| failed to copy resources to vendor dir | exception | error | modules, vendoring, filesystem, resources, copy, permissions |
| meta init failed | panic | error | images, metadata, resources, panic, data-decode |
| pandoc not found in $PATH, cannot render | exception | error | pandoc, external-binary, path, rendering, environment |
| postcss config not found | exception | error | postcss, configuration, config-not-found, asset-pipeline |
| scale must be an integer greater than or equal to 2 | validation | error | hugo, template, qr-code, argument-validation, images |
| there is no such an operation | exception | error | math, go, internal, hugo |
| aborted | console | warning | hugo, deploy, cli, interactive |
| deployment target not found | validation | error | deploy, config |
| index not valid | validation | error | related, search, validation, named-slices |
| must provide one or more Resource objects to concat | validation | error | template, resources, concat, validation, hugo |
| destination must be a map, got %T | validation | error | go, hugo, template, collections, merge, type-error |
| failed to compile Glob | exception | error | segments, configuration, glob, validation |
| failed to copy config dir to vendor dir | exception | error | modules, vendoring, filesystem, config-dir, copy, permissions |
| invalid canvas color: specify RGB or RGBA using hex notation | panic | error | image-filter, padding, color, validation, hugo |
| invalid metadata source | validation | error | hugo, imaging, metadata, config-validation |
| no existing content directory configured for this project | validation | error | hugo, content, cli, filesystem |
| %q: %w | exception | error | page, error-context, wrap |
| sequence must be provided | validation | error | hugo, template, collections, sort, nil-check |
| the number of requested values | validation | error | go, hugo, template, collections, random, validation, bounds-check |
| wrong number of args for | validation | error | template, call, variadic, text-template |
| can't evaluate a nil pointer of type | exception | error | hugo, go-templates, where, nil-pointer, reflection |