Comments (2)
PS C:\Program Files\nodejs> node -v
v12.14.0
PS C:\Program Files\nodejs> npm -v
6.13.4
PS C:\Program Files\nodejs> node-gyp -v
v5.0.7
from aura-sdk.
The whole stack trace isn't visible in your post, but this is likely caused by having the wrong or no version of Python. This is an issue with node-gyp, not with aura-sdk. You'll have to do the following to fix it:
- Download Python 2 and install it wherever
- Add its filepath to your path EV (google if you don't know how),
- Rename
python.exe
in the new install to something likepython2.exe
(only necessary if you have Python 3 already but I'd recommend doing it anyway) - Then in any terminal do
npm config set python python2
to tell npm which python exe to use and your issue should be fixed.
It should be noted that Python 2 is no longer getting updates as of the end of 2019, and node-gyp has been outdated for a while now since it still requires Python 2 to function properly, so it would be best to avoid these when possible.
If you have Python 3 installed already I'd recommend renaming its exe as well so that you can call either one without things getting confusing.
Edit: Grammar
from aura-sdk.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aura-sdk.