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
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
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

While the intention to reorder the build steps is correct, simply swapping the blocks has broken the directory navigation, as the cd commands are relative. The cd paths are now incorrect and will cause the setup instructions to fail.

This suggestion corrects the paths for building web_core and then markdown-it.

Please note that the next step for building the 'Lit renderer' will also need its cd command updated to be relative to the new working directory (e.g., cd ../../lit).

Suggested change
# Install and build the Web Core library
cd ../../web_core
npm install
npm run build
# Install and build the Web Core library
cd ../../web_core
# Install and build the Markdown renderer
cd renderers/markdown/markdown-it
npm install
npm run build
# Install and build the Web Core library
cd renderers/web_core
npm install
npm run build
# Install and build the Markdown renderer
cd ../markdown/markdown-it
npm install
npm run build


Expand Down