Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Running local server fails with mapping key "archived_version" already defined error

Chiusa
#5,100 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@AaronCrawfis ci sta già lavorando.

Dal 2/4/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

website/functionality

Describe the bug
When trying to start a local doc server with hugo server it fails with:

ERROR command error: failed to load config: "C:\dapr-docs-1.17\hugo.yaml:139:3": [139:3] mapping key "archived_version" already defined at [129:3]
136 | # Flag used in the "version-banner" partial to decide whether to display a
137 | # banner on every page indicating that this is an archived version of the docs.
138 | # Set this flag to "true" if you want to display the banner.
139 | archived_version: false
^
141 | # A link to latest version of the docs. Used in the "version-banner" partial to
142 | # point people to the main doc site.
143 |

This is because in commit ced831f for #5046 a second copy of the archived_version parameter block was added to hugo.yaml.

Reverting that change solves the issue.

Steps to reproduce
Follow the instructions from Readme to run a local hugo server with 1.17 branch.

Expected behavior
local web-server starts up without issues

Desktop

  • OS: Windows 11
  • Browser Firefox
  • Version 149.0
Lingua principale
SCSS
Stelle
1k
Fork
808
Merge medio
2g 20h
PR unite (30g)
74

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di dapr/docs

Tutte le issue di dapr/docs

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.