Skip to content

Commit

Permalink
Add title to node-gyp version document (#2452)
Browse files Browse the repository at this point in the history
* Add title to node-gyp version document

* Update Updating-npm-bundled-node-gyp.md
  • Loading branch information
cclauss authored Jul 6, 2021
1 parent b7bccdb commit b6e1cc7
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions docs/Updating-npm-bundled-node-gyp.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Updating the npm-bundled version of node-gyp

[Many issues](https://github.com/nodejs/node-gyp/labels/ERR%21%20node-gyp%20-v%20%3C%3D%20v5.1.0) are opened by users who are
not running a [current version of node-gyp](https://github.com/nodejs/node-gyp/releases).

`npm` bundles its own, internal, copy of `node-gyp`. This internal copy is independent of any globally installed copy of node-gyp that
you may have installed via `npm install -g node-gyp`.
may have been installed via `npm install -g node-gyp`.

This means that while `node-gyp` doesn't get installed into your `$PATH` by default, npm still keeps its own copy to invoke when you
attempt to `npm install` a native add-on.
Expand Down Expand Up @@ -60,4 +65,4 @@ cd node_modules\npm\node_modules\npm-lifecycle
Finish by running:
```bash
$ npm install node-gyp@latest
```
```

0 comments on commit b6e1cc7

Please sign in to comment.