ampstart icon indicating copy to clipboard operation
ampstart copied to clipboard

Intallation fails on Windows

Open MikeVaz opened this issue 5 years ago • 1 comments

> [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 avatar Sep 28 '19 17:09 MikeVaz

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).

MikeVaz avatar Sep 28 '19 18:09 MikeVaz