From b6e1cc71279092552f9e224be245bf91e6d0c981 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Tue, 6 Jul 2021 08:20:44 +0200 Subject: [PATCH] Add title to node-gyp version document (#2452) * Add title to node-gyp version document * Update Updating-npm-bundled-node-gyp.md --- docs/Updating-npm-bundled-node-gyp.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/docs/Updating-npm-bundled-node-gyp.md b/docs/Updating-npm-bundled-node-gyp.md index fcfa59f9eb..38795f5fac 100644 --- a/docs/Updating-npm-bundled-node-gyp.md +++ b/docs/Updating-npm-bundled-node-gyp.md @@ -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. @@ -60,4 +65,4 @@ cd node_modules\npm\node_modules\npm-lifecycle Finish by running: ```bash $ npm install node-gyp@latest -``` \ No newline at end of file +```