DefangLabs / DefangLabs/docs-chatbot

Fix rebuild from defang-docs update

Open
#98 1 comment 0 reactions 1 assignee View on GitHub

@defangdevs is already working on this.

Since Sep 4, 2026.

bug good first issue
Dominant language
Python
Stars
1
Forks
1
Avg merge
14h 50m
Merged PRs (30d)
21

Description

The rebuild of the knowledge base triggered from defang-docs changes.

2025-07-29T11:03:13.933-07:00Error running get_knowledge_base.py script: Traceback (most recent call last): | Error running get_knowledge_base.py script: Traceback (most recent call last):
-- | --
  | 2025-07-29T11:03:13.933-07:00  File "/app/get_knowledge_base.py", line 166, in <module> | File "/app/get_knowledge_base.py", line 166, in <module>
  | 2025-07-29T11:03:13.933-07:00    run_prebuild_script() | run_prebuild_script()
  | 2025-07-29T11:03:13.933-07:00  File "/app/get_knowledge_base.py", line 45, in run_prebuild_script | File "/app/get_knowledge_base.py", line 45, in run_prebuild_script
  | 2025-07-29T11:03:13.933-07:00    subprocess.run( | subprocess.run(
  | 2025-07-29T11:03:13.933-07:00  File "/usr/local/lib/python3.11/subprocess.py", line 571, in run | File "/usr/local/lib/python3.11/subprocess.py", line 571, in run
  | 2025-07-29T11:03:13.933-07:00    raise CalledProcessError(retcode, process.args, | raise CalledProcessError(retcode, process.args,
  | 2025-07-29T11:03:13.933-07:00subprocess.CalledProcessError: Command '['npm', '-C', '.tmp/defang-docs', 'run', 'prebuild']' returned non-zero exit status 1.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.