From a2d38d7958e3f16dcd8c26bf699907770c77d1b4 Mon Sep 17 00:00:00 2001 From: danbugs Date: Tue, 18 Nov 2025 22:12:18 +0000 Subject: [PATCH] add npm install and npm run build instructions to READMEs Signed-off-by: danbugs --- README.md | 1 + examples/ai-generated-scripts/README.md | 2 ++ 2 files changed, 3 insertions(+) diff --git a/README.md b/README.md index d2905bc..84e3fe8 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,7 @@ cargo run -- guest-examples/hello.py Run from JavaScript/Node.js: ```bash +npm install npm run build node examples/napi.js ``` diff --git a/examples/ai-generated-scripts/README.md b/examples/ai-generated-scripts/README.md index f33ea61..2f7fb73 100644 --- a/examples/ai-generated-scripts/README.md +++ b/examples/ai-generated-scripts/README.md @@ -7,6 +7,8 @@ AI-generated code from LLMs is untrusted and should never run directly in the ho 1. Pack the hyperlight-nanvix package from the root: ```bash cd ../.. +npm install +npm run build npm pack ```