-
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 "[email protected]:"]
insteadOf = git://github
Then, run the following in your terminal:
git config --global url."[email protected]:".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