How to overcome when you install any npm package on windows 10 x64?

Window 10 x64.
Can't install one npm package. One and the same error node_gyp :
f3024d2dd35c49389db553dd8fb37d65.png

I see complains about the lack of Python. Put it and a new error after installing Python 2.7 :
ad4e4158a9d543259a50b533913c80e0.png
Installed Visual Studio 2015.
Swears by some SDK
I just npm start to work, quite new. Can anyone tell? Thank you.

:=) Photos to consider is possible by holding down the CTRL key + the mouse Wheel or "+"
July 9th 19 at 11:17
1 answer
July 9th 19 at 11:19
Solution
the path to Python is registered in environment variables?
set run from the console that put
if not,then restart it.
I have all OK from the Studio
Don't see Python in variable environments. Could you tell me how to do it? - Breanne commented on July 9th 19 at 11:22
Don't see the current or new console? or where - mercedes commented on July 9th 19 at 11:25
the console has restarted. I do not see Python in the system environment variables. And what a set it is necessary to perform? - Breanne commented on July 9th 19 at 11:28
cmd
echo %path%
here there is no way for Python?
So it is necessary to add the same in system settings, you can - mercedes commented on July 9th 19 at 11:31
prescribed path to Python. Error is different now)

D:\WORK-projects\48724-pink\node_modules\utf-8-validate {git}{hg}
{lamb} if not defined npm_config_node_gyp (node "C:\Users\plue\AppData\Roaming\npm\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "" rebuild )
Build the projects in this solution one at a time. To enable parallel build, add the parameter "/m".
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Platforms\x64\PlatformToolsets\v140\Toolset.targets(36, 5): error MSB8036: The Windows SDK version 8.1 was not found. Install the required version of the Windows SDK or c hange the SDK version in the project property pages or by right-clicking the solution and selecting "Retarget
solution". [D:\WORK-projects\48724-pink\node_modules\utf-8-validate\build\validation.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: `C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe` failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Users\plue\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\build.js:276:23)
gyp ERR! stack at emitTwo (events.js:100:13)
gyp ERR! stack at ChildProcess.emit (events.js:185:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:204:12)
gyp ERR! System Windows_NT 10.0.10586
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\plue\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd D:\WORK-projects\48724-pink\node_modules\utf-8-validate
gyp ERR! node-v v5.10.1
gyp ERR! node-gyp -v v3.3.1
gyp ERR! not ok
npm WARN install:utf-8-validate@1.2.1 utf-8-validate@1.2.1 install: `node-gyp rebuild`
npm WARN install:utf-8-validate@1.2.1 Exit status 1
npm WARN optional dependency failed Skipping optional /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: fsevents@1.0.12

C:\cmder/vendor/clink-completions/npm_prompt.lua:11: attempt to concatenate local 'package_name' (a nil value) - Breanne commented on July 9th 19 at 11:34
tried to put, but asks the Python version is smaller. Possible way in PYTHON to write the full path to the python exe, without that my Python was not found.

Most likely will have to put msbuild in 2015 or something
https://github.com/nodejs/node-gyp/issues/629#issu... - mercedes commented on July 9th 19 at 11:37
: в2015 community VS + python 2.7 put everything up - mercedes commented on July 9th 19 at 11:40
prescribed path to exe , downloaded and msbuild2015

when installing npm package error :

D:\WORK-projects\48724-pink {git}{hg}
{lamb} npm i --save-dev load-grunt-tasks

> bufferutil@1.2.1 install D:\WORK-projects\48724-pink\node_modules\bufferutil
> node-gyp rebuild

D:\WORK-projects\48724-pink\node_modules\bufferutil {git}{hg}
{lamb} if not defined npm_config_node_gyp (node "C:\Users\plue\AppData\Roaming\npm\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "" rebuild )
Build the projects in this solution one at a time. To enable parallel build, add the parameter "/m".
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Platforms\x64\PlatformToolsets\v140\Toolset.targets(36,
5): error MSB8036: The Windows SDK version 8.1 was not found. Install the required version of the Windows SDK or c
hange the SDK version in the project property pages or by right-clicking the solution and selecting "Retarget
solution". [D:\WORK-projects\48724-pink\node_modules\bufferutil\build\bufferutil.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: `C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe` failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Users\plue\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\build.js:276:23)
gyp ERR! stack at emitTwo (events.js:100:13)
gyp ERR! stack at ChildProcess.emit (events.js:185:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:204:12)
gyp ERR! System Windows_NT 10.0.10586
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\plue\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd D:\WORK-projects\48724-pink\node_modules\bufferutil
gyp ERR! node-v v5.10.1
gyp ERR! node-gyp -v v3.3.1
gyp ERR! not ok
npm WARN install:bufferutil@1.2.1 bufferutil@1.2.1 install: `node-gyp rebuild`
npm WARN install:bufferutil@1.2.1 Exit status 1

> utf-8-validate@1.2.1 install D:\WORK-projects\48724-pink\node_modules\utf-8-validate
> node-gyp rebuild

D:\WORK-projects\48724-pink\node_modules\utf-8-validate {git}{hg}
{lamb} if not defined npm_config_node_gyp (node "C:\Users\plue\AppData\Roaming\npm\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "" rebuild )
Build the projects in this solution one at a time. To enable parallel build, add the parameter "/m".
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Platforms\x64\PlatformToolsets\v140\Toolset.targets(36,
5): error MSB8036: The Windows SDK version 8.1 was not found. Install the required version of the Windows SDK or c
hange the SDK version in the project property pages or by right-clicking the solution and selecting "Retarget
solution". [D:\WORK-projects\48724-pink\node_modules\utf-8-validate\build\validation.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: `C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe` failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Users\plue\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\build.js:276:23)
gyp ERR! stack at emitTwo (events.js:100:13)
gyp ERR! stack at ChildProcess.emit (events.js:185:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:204:12)
gyp ERR! System Windows_NT 10.0.10586
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\plue\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd D:\WORK-projects\48724-pink\node_modules\utf-8-validate
gyp ERR! node-v v5.10.1
gyp ERR! node-gyp -v v3.3.1
gyp ERR! not ok
npm WARN install:utf-8-validate@1.2.1 utf-8-validate@1.2.1 install: `node-gyp rebuild`
npm WARN install:utf-8-validate@1.2.1 Exit status 1
npm WARN optional dependency failed Skipping optional /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: fsevents@1.0.12

C:\cmder/vendor/clink-completions/npm_prompt.lua:11: attempt to concatenate local 'package_name' (a nil value)
D:\WORK-projects\48724-pink {git}{hg} - Breanne commented on July 9th 19 at 11:43
Don't know if that helps .. But on the website https://www.npmjs.com/package/node-gyp has the following lines :

Windows 10:
Install the latest version of npm (3.3.6 at the time of writing)
Install Python 2.7 from https://www.python.org/download/releases/2.7/ and make sure its on the System Path
Install Visual Studio 2015 Community Edition. (Custom Install, Select Visual C++ during the installation)
Set the environment variable GYP_MSVS_VERSION=2015
Run the command prompt as Administrator
$ npm install (--msvs_version=2015) <-- Shouldn't be needed if you have set env GYP_MSVS_VERSION
If the above steps have not worked or you are unsure please visit www.serverpals.com/blog/building-using-node-gyp-wi... for a full walkthrough

But I don't know what to do :
Set the environment variable GYP_MSVS_VERSION=2015 - Breanne commented on July 9th 19 at 11:46
npm I put just in case 3.9.3
in the project
What Studio do?
Most likely the problem is setting the way,reboot again required.
This is just to register the environment variables GYP_MSVS_VERSION = 2015 - mercedes commented on July 9th 19 at 11:49
=) I'm still learning to write and only learned about the console. What do you mean what Studio?) - Breanne commented on July 9th 19 at 11:52
Visual Studio =)@plue: - mercedes commented on July 9th 19 at 11:55
or from the hands ? - mercedes commented on July 9th 19 at 11:58
VS 2015 installed, but I make up an Atom. Rebooted with the same error. The torment continues - Breanne commented on July 9th 19 at 12:01
well I put it?(Studio) - mercedes commented on July 9th 19 at 12:04
what ? I packages install of Cmder console, like on the screenshots above. - Breanne commented on July 9th 19 at 12:07
put node-tools and Studio 2015, create a nodejs project and put there the package,try this.
When installing packages, where you can open the console output,you can see all the commands
suddenly get. - mercedes commented on July 9th 19 at 12:10
He overcame - ostanovil component C++ for VS 2015 , the error is gone . You for your advice, thank you) - Breanne commented on July 9th 19 at 12:13
: please =) congratulations, and what set? - mercedes commented on July 9th 19 at 12:16
Yes he is a component of Visual C++ , I have it not installed. - Breanne commented on July 9th 19 at 12:19

Find more questions by tags npmVisual Studio