From c08e0bd7351e5fc1b81476f21bb32caf7390a83e Mon Sep 17 00:00:00 2001 From: Gary Sassano <10464497+garysassano@users.noreply.github.com> Date: Tue, 7 Jan 2025 21:53:05 +0100 Subject: [PATCH] fix: update `nodejs` readme with missing step --- nodejs/README.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/nodejs/README.md b/nodejs/README.md index a0ccedfe76..cb2af9ec5c 100644 --- a/nodejs/README.md +++ b/nodejs/README.md @@ -10,13 +10,21 @@ included and loaded automatically if you use the AWS SDK v2. ## Building -To build the layer and sample applications, in this `nodejs` folder, run +To build the layer and sample applications in this `nodejs` folder: + +First install dependencies: ``` npm install ``` -This will download all dependencies and compile all code. The layer zip file will be present at `./packages/layer/build/layer.zip`. +Then build the project: + +``` +npm run build +``` + +You'll find the generated layer zip file at `./packages/layer/build/layer.zip`. ## Sample applications