Skip to content

Commit

Permalink
docs: update CONTRIBUTING.md to prevent errors (#6844)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
darcyclarke authored Sep 28, 2023
1 parent 0860159 commit 68031f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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...**
Expand Down

0 comments on commit 68031f2

Please sign in to comment.