From 27413a03595b57914187161be4933e9c6c0a12ef Mon Sep 17 00:00:00 2001 From: DeeDeeG Date: Mon, 20 Dec 2021 22:20:49 -0500 Subject: [PATCH] docs: Add more notes on npm version compatibility for updating node-gyp --- docs/Force-npm-to-use-global-node-gyp.md | 2 ++ docs/Updating-npm-bundled-node-gyp.md | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/Force-npm-to-use-global-node-gyp.md b/docs/Force-npm-to-use-global-node-gyp.md index c5f960f98e..ef8c115a73 100644 --- a/docs/Force-npm-to-use-global-node-gyp.md +++ b/docs/Force-npm-to-use-global-node-gyp.md @@ -1,5 +1,7 @@ # Force npm to use global installed node-gyp +**Note: These instructions only work with npm 6 or older. For a different solution that works with npm 8 (or older), see [Updating-npm-bundled-node-gyp.md](https://github.com/nodejs/node-gyp/blob/master/docs/Updating-npm-bundled-node-gyp.md).** + [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). diff --git a/docs/Updating-npm-bundled-node-gyp.md b/docs/Updating-npm-bundled-node-gyp.md index 2a1392769b..29447512bd 100644 --- a/docs/Updating-npm-bundled-node-gyp.md +++ b/docs/Updating-npm-bundled-node-gyp.md @@ -2,7 +2,7 @@ **Note: These instructions are (only) tested and known to work with npm 8 and older.** -**Note: These instructions will be undone if you reinstall or upgrade your install of npm or node! For a more permanent (and simpler) solution, see [Force-npm-to-use-global-node-gyp.md](https://github.com/nodejs/node-gyp/blob/master/docs/Force-npm-to-use-global-node-gyp.md)** +**Note: These instructions will be undone if you reinstall or upgrade your install of npm or node! For a more permanent (and simpler) solution, see [Force-npm-to-use-global-node-gyp.md](https://github.com/nodejs/node-gyp/blob/master/docs/Force-npm-to-use-global-node-gyp.md). (npm 6 or older only!)** [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).