-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Troubleshooting Local Build
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
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