Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,13 +134,13 @@ The best way to understand A2UI is to run the samples.
Open a new terminal window:

```bash
# Install and build the Markdown renderer
cd renderers/markdown/markdown-it
# Install and build the Web Core library (must be built first - markdown-it depends on it)
cd renderers/web_core
npm install
npm run build

# Install and build the Web Core library
cd ../../web_core
# Install and build the Markdown renderer
cd ../markdown/markdown-it
npm install
npm run build
Comment on lines +137 to 145
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

For better robustness and user experience, consider running the build commands for each package within a subshell (...). This prevents the cd command from changing the user's current directory and makes each step runnable independently from the project root. Chaining commands with && also ensures that subsequent commands only run if the previous ones succeed.

For example:

# Install and build the Web Core library (must be built first - markdown-it depends on it)
(cd renderers/web_core && npm install && npm run build)

# Install and build the Markdown renderer
(cd renderers/markdown/markdown-it && npm install && npm run build)


Expand Down