T
T
Tian2018-05-20 13:21:55
Node.js
Tian, 2018-05-20 13:21:55

How to properly set up node-gyp for Electron?

Good day!
There is a problem with configuring node-gyp to build my application on Electron. Tried all the ways that I found, but could not solve the issue. To start the version:
NODE v8.11.1
NPM v6.0.1
Windows 10 Pro
MSVS 2015
The error itself looks like this:
5b014d7ce69d9661190737.png
But there is another problem. When i run the command

npm install --global --production windows-build-tools

I see that MSVS2015 is not being installed, a problem arises:
5b014baca3d6b561726871.png
Okay, figs with this problem. I opened this BuildTools_Full.exe manually, installed everything without errors, but the problem with node-gyp remained.
Thanks in advance to everyone for your help!
5b014e092b3e3102653460.png

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question