Created
May 15, 2017 04:01
-
-
Save theblang/9f722783b10bbbc62d0aaf01f5dcab5e to your computer and use it in GitHub Desktop.
sha3 Windows10 npm install error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C:\Users\theblang>npm install -g sha3 | |
> sha3@1.2.0 install C:\Users\theblang\AppData\Roaming\npm\node_modules\sha3 | |
> node-gyp rebuild | |
C:\Users\theblang\AppData\Roaming\npm\node_modules\sha3>if not defined npm_config_node_gyp (node "C:\Users\theblang\AppData\Roaming\npm\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "" rebuild ) | |
Traceback (most recent call last): | |
File "C:\Users\theblang\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\gyp\gyp_main.py", line 16, in <module> | |
sys.exit(gyp.script_main()) | |
File "C:\Users\theblang\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp\__init__.py", line 545, in script_main | |
return main(sys.argv[1:]) | |
File "C:\Users\theblang\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp\__init__.py", line 538, in main | |
return gyp_main(args) | |
File "C:\Users\theblang\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp\__init__.py", line 514, in gyp_main | |
options.duplicate_basename_check) | |
File "C:\Users\theblang\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp\__init__.py", line 98, in Load | |
generator.CalculateVariables(default_variables, params) | |
File "C:\Users\theblang\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp\generator\msvs.py", line 1918, in CalculateVariables | |
generator_flags.get('msvs_version', 'auto')) | |
File "C:\Users\theblang\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp\MSVSVersion.py", line 434, in SelectVisualStudioVersion | |
versions = _DetectVisualStudioVersions(version_map[version], 'e' in version) | |
KeyError: '2017' | |
gyp ERR! configure error | |
gyp ERR! stack Error: `gyp` failed with exit code: 1 | |
gyp ERR! stack at ChildProcess.onCpExit (C:\Users\theblang\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\configure.js:336:16) | |
gyp ERR! stack at emitTwo (events.js:106:13) | |
gyp ERR! stack at ChildProcess.emit (events.js:191:7) | |
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12) | |
gyp ERR! System Windows_NT 10.0.14393 | |
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\theblang\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" | |
gyp ERR! cwd C:\Users\theblang\AppData\Roaming\npm\node_modules\sha3 | |
gyp ERR! node -v v6.10.3 | |
gyp ERR! node-gyp -v v3.6.0 | |
gyp ERR! not ok | |
npm ERR! code ELIFECYCLE | |
npm ERR! errno 1 | |
npm ERR! sha3@1.2.0 install: `node-gyp rebuild` | |
npm ERR! Exit status 1 | |
npm ERR! | |
npm ERR! Failed at the sha3@1.2.0 install script 'node-gyp rebuild'. | |
npm ERR! Make sure you have the latest version of node.js and npm installed. | |
npm ERR! If you do, this is most likely a problem with the sha3 package, | |
npm ERR! not with npm itself. | |
npm ERR! Tell the author that this fails on your system: | |
npm ERR! node-gyp rebuild | |
npm ERR! You can get information on how to open an issue for this project with: | |
npm ERR! npm bugs sha3 | |
npm ERR! Or if that isn't available, you can get their info via: | |
npm ERR! npm owner ls sha3 | |
npm ERR! There is likely additional logging output above. | |
npm ERR! A complete log of this run can be found in: | |
npm ERR! C:\Users\theblang\AppData\Roaming\npm-cache\_logs\2017-05-15T03_56_58_292Z-debug.log | |
C:\Users\theblang>npm config set msvs_version 2015 --global | |
C:\Users\theblang>npm install -g sha3 | |
> sha3@1.2.0 install C:\Users\theblang\AppData\Roaming\npm\node_modules\sha3 | |
> node-gyp rebuild | |
C:\Users\theblang\AppData\Roaming\npm\node_modules\sha3>if not defined npm_config_node_gyp (node "C:\Users\theblang\AppData\Roaming\npm\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "" rebuild ) | |
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch. | |
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppBuild.targets(366,5): warning MSB8003: Could not find WindowsSDKDir variabl | |
e from the registry. TargetFrameworkVersion or PlatformToolset may be set to an invalid version number. [C:\Users\theblang\AppData\Roaming\npm | |
\node_modules\sha3\build\sha3.vcxproj] | |
TRACKER : error TRK0005: Failed to locate: "CL.exe". The system cannot find the file specified. [C:\Users\theblang\AppData\Roaming\npm\node_mod | |
ules\sha3\build\sha3.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\theblang\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\build.js:285:23) | |
gyp ERR! stack at emitTwo (events.js:106:13) | |
gyp ERR! stack at ChildProcess.emit (events.js:191:7) | |
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12) | |
gyp ERR! System Windows_NT 10.0.14393 | |
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\theblang\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" | |
gyp ERR! cwd C:\Users\theblang\AppData\Roaming\npm\node_modules\sha3 | |
gyp ERR! node -v v6.10.3 | |
gyp ERR! node-gyp -v v3.6.0 | |
gyp ERR! not ok | |
npm ERR! code ELIFECYCLE | |
npm ERR! errno 1 | |
npm ERR! sha3@1.2.0 install: `node-gyp rebuild` | |
npm ERR! Exit status 1 | |
npm ERR! | |
npm ERR! Failed at the sha3@1.2.0 install script 'node-gyp rebuild'. | |
npm ERR! Make sure you have the latest version of node.js and npm installed. | |
npm ERR! If you do, this is most likely a problem with the sha3 package, | |
npm ERR! not with npm itself. | |
npm ERR! Tell the author that this fails on your system: | |
npm ERR! node-gyp rebuild | |
npm ERR! You can get information on how to open an issue for this project with: | |
npm ERR! npm bugs sha3 | |
npm ERR! Or if that isn't available, you can get their info via: | |
npm ERR! npm owner ls sha3 | |
npm ERR! There is likely additional logging output above. | |
npm ERR! A complete log of this run can be found in: | |
npm ERR! C:\Users\theblang\AppData\Roaming\npm-cache\_logs\2017-05-15T03_57_49_273Z-debug.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment