Skip to content

Commit

Permalink
docs: node-pre-gyp is no longer maintained (nodejs#3015)
Browse files Browse the repository at this point in the history
* docs: `node-pre-gyp` is no longer maintained

* Update README.md

* Update README.md
  • Loading branch information
cclauss authored Apr 16, 2024
1 parent 141aa6b commit 93186f1
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Versions of `node-gyp` that are earlier than v9.x.x
## Versions of `node-gyp` that are earlier than v10.x.x

Please look thru your error log for the string `gyp info using node-gyp@` and if that version number is less than the [current release of node-gyp](https://github.com/nodejs/node-gyp/releases) then __please upgrade__ using [these instructions](https://github.com/nodejs/node-gyp/blob/main/docs/Updating-npm-bundled-node-gyp.md) and then try your command again.

Expand All @@ -12,8 +12,20 @@ npm install sass --save
npm install --global node-sass@latest
```
`node-sass` projects _may_ work by downgrading to Node.js v14 but [that release is end-of-life](https://github.com/nodejs/release#release-schedule).
But in any case, please avoid opening new `node-sass` issues on this repo because we [cannot help much](https://github.com/nodejs/node-gyp/issues?q=is%3Aissue+label%3A%22Node+Sass+--%3E+Dart+Sass%22+).

## Issues finding the installed Visual Studio
In any case, please avoid opening new `node-sass` issues on this repo because we [cannot help much](https://github.com/nodejs/node-gyp/issues?q=is%3Aissue+label%3A%22Node+Sass+--%3E+Dart+Sass%22+).

In cmd, [`npm config set msvs_version 20xx`](https://github.com/nodejs/node-gyp#on-windows) with ___xx___ matching your locally installed version of Visual Studio.
## `node-pre-gyp` is no longer maintained

* mapbox/node-pre-gyp#657

Support in the `abi_crosswalk.json` file ends at Node.js v17 but [that release is end-of-life](https://github.com/nodejs/release#release-schedule).

In any case, please avoid opening new `node-pre-gyp` issues on this repo because we [cannot help much](https://github.com/nodejs/node-gyp/issues?q=is%3Aissue+label%3A%22node-pre-gyp+is+unmaintained%22).

Unsupported __WORKAROUND__ for versions of Node.js > v17
```
npm ci # mapbox/node-pre-gyp
npm run update-crosswalk
# npm audit # Currently fails on a `Severity: critical` issue
```

0 comments on commit 93186f1

Please sign in to comment.