mirror of
https://github.com/electron/node-gyp.git
synced 2025-08-15 12:58:19 +02:00
doc: Rename and update Common-issues.md --> docs/README.md (#2567)
Update the common problems to track with current issues on this repo and shorten the URL to just https://github.com/nodejs/node-gyp/tree/master/docs
This commit is contained in:
parent
c2a185056e
commit
2ef5fb8627
2 changed files with 11 additions and 14 deletions
|
@ -1,14 +0,0 @@
|
|||
## Python Issues OSX
|
||||
|
||||
Make sure you are using the native Python version in OSX. If you use a MacPorts of HomeBrew version, you may run into problems.
|
||||
|
||||
If you have issues with `execvp`, be sure to check your `$PYTHON` environment variable. If it is not set to the native version, unset it and try again.
|
||||
|
||||
Notes: https://gist.github.com/erichocean/5177582
|
||||
|
||||
## npm ERR! `node-gyp rebuild`(Windows)
|
||||
* just install the build tools from [here](https://visualstudio.microsoft.com/thank-you-downloading-visual-studio/?sku=BuildTools)
|
||||
Please note the version as is required in below command e.g **2017**
|
||||
* Launch cmd, run `npm config set msvs_version 2017`
|
||||
* close and open new CMD/terminal and all is well :100:
|
||||
|
11
docs/README.md
Normal file
11
docs/README.md
Normal file
|
@ -0,0 +1,11 @@
|
|||
## Versions of `node-gyp` that are earlier than v8.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/master/docs/Updating-npm-bundled-node-gyp.md) and then try your command again.
|
||||
|
||||
## `node-sass` is deprecated
|
||||
|
||||
Please be aware that the package [`node-sass` is deprecated](https://github.com/sass/node-sass#node-sass) so you should actively seek alternatives. Please avoid opening new `node-sass` issues on this repo. You can try `npm install --global node-sass@latest` but we [cannot help much](https://github.com/nodejs/node-gyp/issues?q=is%3Aissue+label%3A%22Node+Sass+--%3E+Dart+Sass%22+) here.
|
||||
|
||||
## Issues finding the installed Visual Studio
|
||||
|
||||
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.
|
Loading…
Add table
Add a link
Reference in a new issue