Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Intallation fails on Windows #882

Open
MikeVaz opened this issue Sep 28, 2019 · 1 comment
Open

Intallation fails on Windows #882

MikeVaz opened this issue Sep 28, 2019 · 1 comment

Comments

@MikeVaz
Copy link

MikeVaz commented Sep 28, 2019

> [email protected] install ....\node_modules\oniguruma
> node-gyp rebuild

Fails with

gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.

Looking at node-gyp setup steps.... It would be great to have this mentioned in readme how to install on Windows.

@MikeVaz
Copy link
Author

MikeVaz commented Sep 28, 2019

Following these steps https://github.com/nodejs/node-gyp helped me to solve the problem

Install all the required tools and configurations using Microsoft's windows-build-tools using npm install --global --production windows-build-tools from an elevated PowerShell or CMD.exe (run as Administrator).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant