From 3b9be8e22dfdd8d9713c05fab59898ea15c48bb4 Mon Sep 17 00:00:00 2001 From: Vasu Jain Date: Mon, 8 Jun 2026 11:45:04 -0700 Subject: [PATCH] docs: add Node.js/npm as prerequisite in getting-started guide Fixes #747 The trusted-server-js crate requires npm to run `npm ci` and `npm run build` during cargo build. The package-lock.json uses lockfileVersion 3, which requires npm >= 7. Node.js >= 18 is the minimum LTS version that ships with npm 7+. Without Node.js/npm installed, the build fails with a confusing error from the build.rs script in crates/js. --- docs/guide/getting-started.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/guide/getting-started.md b/docs/guide/getting-started.md index a4ed418c..db850ce6 100644 --- a/docs/guide/getting-started.md +++ b/docs/guide/getting-started.md @@ -7,6 +7,7 @@ Get up and running with Trusted Server quickly. Before you begin, ensure you have: - Rust 1.91.1 (see `.tool-versions`) +- Node.js >= 18 and npm >= 7 (required for building client-side JS bundles) - Fastly CLI installed - A Fastly account and API key - Basic familiarity with WebAssembly