From 68031f2ae1cd5d49b0fb263da1a7eae62712ff97 Mon Sep 17 00:00:00 2001 From: Darcy Clarke Date: Thu, 28 Sep 2023 11:56:43 -0400 Subject: [PATCH] docs: update `CONTRIBUTING.md` to prevent errors (#6844) Update CONTRIBUTING.md - following the previous steps with a fresh clone of `npm/cli` will error out if your try to run `node . install` because the `@npmcli/config` dep is missing - need to run `node ./scripts/resetdeps.js` prior to running any `node .`/`npm` command --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index eb2beb45f1e8a..f05f05ae612b0 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -19,7 +19,7 @@ $ git clone git@github.com:npm/cli.git npm **2. Navigate into project & install development-specific dependencies...** ```bash -$ cd ./npm && node . install +$ cd ./npm && node ./scripts/resetdeps.js ``` **3. Write some code &/or add some tests...**