Skip to content

Troubleshooting Local Build

Brian Deutsch edited this page Aug 17, 2021 · 2 revisions

Error downloading Modules

For the error fatal: could not read Username for 'https://github.com': terminal prompts disabled, then you will need to update your local .gitconfig as follows.

In your local documentation (or working project) directory, add a .gitconfig file containing:

[url "git@github.com:"]
  insteadOf = git://github

Then, run the following in your terminal: git config --global url."git@github.com:".insteadOf "https://github.com/"

Try running the local dev server again using yarn start.

RE: https://gist.github.com/Kovrinic/ea5e7123ab5c97d451804ea222ecd78a

Render of page failed / Error calling partial / Partial not found

If you encounter a build error beginning with render of "page" failed, and ending with error calling partial: partial "announcement_banner" not found, this typically indicates a caching issue with Hugo Modules. Please try the following commands:

hugo mod clean

A message reading (in part): hugo: cleaned module cache for "github.com/DataDog/websites-modules" indicates the caching issue should be resolved. At this point, you should be able to yarn run start to rebuild the Docs site.

If you are still experiencing issues at any point, please reach out in #websites