etheratom icon indicating copy to clipboard operation
etheratom copied to clipboard

Issue Installing on windows

Open subspan opened this issue 7 years ago • 17 comments

Hello, New here... tried installing via atom and bash apm install etheratom, both provide this error, the file location of npm.debug.log is also not where it says, so I cannot include it.. using latest npm and nodejs

AppData\Local\Temp\apm-install-dir-1171112-154136-486l1h.3vpumobt9\npm-debug.log

[email protected] install C:\Users\Joe\AppData\Local\Temp\apm-install-dir-1171112-154136-486l1h.3vpumobt9\node_modules\etheratom\node_modules\keccak npm run rebuild || echo "Keccak bindings compilation fail. Pure JS implementation will be used."

[email protected] rebuild C:\Users\Joe\AppData\Local\Temp\apm-install-dir-1171112-154136-486l1h.3vpumobt9\node_modules\etheratom\node_modules\keccak node-gyp rebuild

C:\Users\Joe\AppData\Local\Temp\apm-install-dir-1171112-154136-486l1h.3vpumobt9\node_modules\etheratom\node_modules\keccak>if not defined npm_config_node_gyp (node "C:\Users\Joe\AppData\Local\atom\app-1.23.0\resources\app\apm\node_modules\npm\bin\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Users\Joe\AppData\Local\atom\app-1.23.0\resources\app\apm\bin\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch. MSBUILD : error MSB3428: Could not load the Visual C++ component "VCBuild.exe". To fix this, 1) install the .NET Framework 2.0 SDK, 2) install Microsoft Visual Studio 2005 or 3) add the location of the component to the system path if it is installed elsewhere. [C:\Users\Joe\AppData\Local\Temp\apm-install-dir-1171112-154136-486l1h.3vpumobt9\node_modules\etheratom\node_modules\keccak\build\binding.sln] "Keccak bindings compilation fail. Pure JS implementation will be used."

[email protected] install C:\Users\Joe\AppData\Local\Temp\apm-install-dir-1171112-154136-486l1h.3vpumobt9\node_modules\etheratom\node_modules\secp256k1 npm run rebuild || echo "Secp256k1 bindings compilation fail. Pure JS implementation will be used."

[email protected] rebuild C:\Users\Joe\AppData\Local\Temp\apm-install-dir-1171112-154136-486l1h.3vpumobt9\node_modules\etheratom\node_modules\secp256k1 node-gyp rebuild

C:\Users\Joe\AppData\Local\Temp\apm-install-dir-1171112-154136-486l1h.3vpumobt9\node_modules\etheratom\node_modules\secp256k1>if not defined npm_config_node_gyp (node "C:\Users\Joe\AppData\Local\atom\app-1.23.0\resources\app\apm\node_modules\npm\bin\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Users\Joe\AppData\Local\atom\app-1.23.0\resources\app\apm\bin\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch. MSBUILD : error MSB3428: Could not load the Visual C++ component "VCBuild.exe". To fix this, 1) install the .NET Framework 2.0 SDK, 2) install Microsoft Visual Studio 2005 or 3) add the location of the component to the system path if it is installed elsewhere. [C:\Users\Joe\AppData\Local\Temp\apm-install-dir-1171112-154136-486l1h.3vpumobt9\node_modules\etheratom\node_modules\secp256k1\build\binding.sln] "Secp256k1 bindings compilation fail. Pure JS implementation will be used."

[email protected] install C:\Users\Joe\AppData\Local\Temp\apm-install-dir-1171112-154136-486l1h.3vpumobt9\node_modules\etheratom\node_modules\sha3 node-gyp rebuild

C:\Users\Joe\AppData\Local\Temp\apm-install-dir-1171112-154136-486l1h.3vpumobt9\node_modules\etheratom\node_modules\sha3>if not defined npm_config_node_gyp (node "C:\Users\Joe\AppData\Local\atom\app-1.23.0\resources\app\apm\node_modules\npm\bin\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Users\Joe\AppData\Local\atom\app-1.23.0\resources\app\apm\bin\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch. MSBUILD : error MSB3428: Could not load the Visual C++ component "VCBuild.exe". To fix this, 1) install the .NET Framework 2.0 SDK, 2) install Microsoft Visual Studio 2005 or 3) add the location of the component to the system path if it is installed elsewhere. [C:\Users\Joe\AppData\Local\Temp\apm-install-dir-1171112-154136-486l1h.3vpumobt9\node_modules\etheratom\node_modules\sha3\build\binding.sln] C:\Users\Joe\AppData\Local\Temp\apm-install-dir-1171112-154136-486l1h.3vpumobt9 `-- (empty)

npm WARN deprecated [email protected]: 🙌 Thanks for using Babel: we recommend using babel-preset-env now: please read babeljs.io/env to update! gyp ERR! build error gyp ERR! stack Error: C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe failed with exit code: 1 gyp ERR! stack at ChildProcess.onExit (C:\Users\Joe\AppData\Local\atom\app-1.23.0\resources\app\apm\node_modules\node-gyp\lib\build.js:276: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.15063 gyp ERR! command "C:\Users\Joe\AppData\Local\atom\app-1.23.0\resources\app\apm\bin\node.exe" "C:\Users\Joe\AppData\Local\atom\app-1.23.0\resources\app\apm\node_modules\node-gyp\bin\node-gyp.js" "rebuild" gyp ERR! cwd C:\Users\Joe\AppData\Local\Temp\apm-install-dir-1171112-154136-486l1h.3vpumobt9\node_modules\etheratom\node_modules\keccak gyp ERR! node -v v6.9.5 gyp ERR! node-gyp -v v3.4.0 gyp ERR! not ok

npm ERR! Windows_NT 10.0.15063 npm ERR! argv "C:\Users\Joe\AppData\Local\atom\app-1.23.0\resources\app\apm\bin\node.exe" "C:\Users\Joe\AppData\Local\atom\app-1.23.0\resources\app\apm\node_modules\npm\bin\npm-cli.js" "run" "rebuild" npm ERR! node v6.9.5 npm ERR! npm v3.10.10 npm ERR! code ELIFECYCLE npm ERR! [email protected] rebuild: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] rebuild 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 keccak 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 keccak npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls keccak npm ERR! There is likely additional logging output above. npm WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR! Please include the following file with any support request: npm ERR! C:\Users\Joe\AppData\Local\Temp\apm-install-dir-1171112-154136-486l1h.3vpumobt9\node_modules\etheratom\node_modules\keccak\npm-debug.log gyp ERR! build error gyp ERR! stack Error: C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe failed with exit code: 1 gyp ERR! stack at ChildProcess.onExit (C:\Users\Joe\AppData\Local\atom\app-1.23.0\resources\app\apm\node_modules\node-gyp\lib\build.js:276: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.15063 gyp ERR! command "C:\Users\Joe\AppData\Local\atom\app-1.23.0\resources\app\apm\bin\node.exe" "C:\Users\Joe\AppData\Local\atom\app-1.23.0\resources\app\apm\node_modules\node-gyp\bin\node-gyp.js" "rebuild" gyp ERR! cwd C:\Users\Joe\AppData\Local\Temp\apm-install-dir-1171112-154136-486l1h.3vpumobt9\node_modules\etheratom\node_modules\secp256k1 gyp ERR! node -v v6.9.5 gyp ERR! node-gyp -v v3.4.0 gyp ERR! not ok

npm ERR! Windows_NT 10.0.15063 npm ERR! argv "C:\Users\Joe\AppData\Local\atom\app-1.23.0\resources\app\apm\bin\node.exe" "C:\Users\Joe\AppData\Local\atom\app-1.23.0\resources\app\apm\node_modules\npm\bin\npm-cli.js" "run" "rebuild" npm ERR! node v6.9.5 npm ERR! npm v3.10.10 npm ERR! code ELIFECYCLE npm ERR! [email protected] rebuild: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] rebuild 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 secp256k1 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 secp256k1 npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls secp256k1 npm ERR! There is likely additional logging output above. npm WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR! Please include the following file with any support request: npm ERR! C:\Users\Joe\AppData\Local\Temp\apm-install-dir-1171112-154136-486l1h.3vpumobt9\node_modules\etheratom\node_modules\secp256k1\npm-debug.log gyp ERR! build error gyp ERR! stack Error: C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe failed with exit code: 1 gyp ERR! stack at ChildProcess.onExit (C:\Users\Joe\AppData\Local\atom\app-1.23.0\resources\app\apm\node_modules\node-gyp\lib\build.js:276: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.15063 gyp ERR! command "C:\Users\Joe\AppData\Local\atom\app-1.23.0\resources\app\apm\bin\node.exe" "C:\Users\Joe\AppData\Local\atom\app-1.23.0\resources\app\apm\node_modules\node-gyp\bin\node-gyp.js" "rebuild" gyp ERR! cwd C:\Users\Joe\AppData\Local\Temp\apm-install-dir-1171112-154136-486l1h.3vpumobt9\node_modules\etheratom\node_modules\sha3 gyp ERR! node -v v6.9.5 gyp ERR! node-gyp -v v3.4.0 gyp ERR! not ok npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\Joe\AppData\Local\Temp\apm-install-dir-1171112-154136-486l1h.3vpumobt9\package.json' npm WARN apm-install-dir-1171112-154136-486l1h.3vpumobt9 No description npm WARN apm-install-dir-1171112-154136-486l1h.3vpumobt9 No repository field. npm WARN apm-install-dir-1171112-154136-486l1h.3vpumobt9 No README data npm WARN apm-install-dir-1171112-154136-486l1h.3vpumobt9 No license field. npm ERR! Windows_NT 10.0.15063 npm ERR! argv "C:\Users\Joe\AppData\Local\atom\app-1.23.0\resources\app\apm\bin\node.exe" "C:\Users\Joe\AppData\Local\atom\app-1.23.0\resources\app\apm\node_modules\npm\bin\npm-cli.js" "--globalconfig" "C:\Users\Joe\.atom\.apm\.apmrc" "--userconfig" "C:\Users\Joe\.atom\.apmrc" "install" "C:\Users\Joe\AppData\Local\Temp\d-1171112-154136-1bb6tty.25ypynwmi\package.tgz" "--runtime=electron" "--target=1.6.15" "--arch=x64" "--global-style" npm ERR! node v6.9.5 npm ERR! npm v3.10.10 npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] 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! Please include the following file with any support request: npm ERR! C:\Users\Joe\AppData\Local\Temp\apm-install-dir-1171112-154136-486l1h.3vpumobt9\npm-debug.log npm ERR! code 1

subspan avatar Dec 13 '17 00:12 subspan

looks same as #36

0mkara avatar Dec 13 '17 07:12 0mkara

Sorry, but reading over that I cannot see the solution;

cd path/to/project
atom . 

produces same error when trying to install

subspan avatar Dec 14 '17 04:12 subspan

Could you try installing python ?

0mkara avatar Dec 14 '17 09:12 0mkara

Thanks for your response.. after installing latest version of python and retrying I am giving the following output (No Log in AppData Destination Specified):

[email protected] install C:\Users\Joe\AppData\Local\Temp\apm-install-dir-1171114-26392-u93z4m.9v7ufk1emi\node_modules\etheratom\node_modules\keccak npm run rebuild || echo "Keccak bindings compilation fail. Pure JS implementation will be used."

[email protected] rebuild C:\Users\Joe\AppData\Local\Temp\apm-install-dir-1171114-26392-u93z4m.9v7ufk1emi\node_modules\etheratom\node_modules\keccak node-gyp rebuild

C:\Users\Joe\AppData\Local\Temp\apm-install-dir-1171114-26392-u93z4m.9v7ufk1emi\node_modules\etheratom\node_modules\keccak>if not defined npm_config_node_gyp (node "C:\Users\Joe\AppData\Local\atom\app-1.23.1\resources\app\apm\node_modules\npm\bin\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Users\Joe\AppData\Local\atom\app-1.23.1\resources\app\apm\bin\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) "Keccak bindings compilation fail. Pure JS implementation will be used."

[email protected] install C:\Users\Joe\AppData\Local\Temp\apm-install-dir-1171114-26392-u93z4m.9v7ufk1emi\node_modules\etheratom\node_modules\secp256k1 npm run rebuild || echo "Secp256k1 bindings compilation fail. Pure JS implementation will be used."

[email protected] rebuild C:\Users\Joe\AppData\Local\Temp\apm-install-dir-1171114-26392-u93z4m.9v7ufk1emi\node_modules\etheratom\node_modules\secp256k1 node-gyp rebuild

C:\Users\Joe\AppData\Local\Temp\apm-install-dir-1171114-26392-u93z4m.9v7ufk1emi\node_modules\etheratom\node_modules\secp256k1>if not defined npm_config_node_gyp (node "C:\Users\Joe\AppData\Local\atom\app-1.23.1\resources\app\apm\node_modules\npm\bin\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Users\Joe\AppData\Local\atom\app-1.23.1\resources\app\apm\bin\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) "Secp256k1 bindings compilation fail. Pure JS implementation will be used."

[email protected] install C:\Users\Joe\AppData\Local\Temp\apm-install-dir-1171114-26392-u93z4m.9v7ufk1emi\node_modules\etheratom\node_modules\sha3 node-gyp rebuild

C:\Users\Joe\AppData\Local\Temp\apm-install-dir-1171114-26392-u93z4m.9v7ufk1emi\node_modules\etheratom\node_modules\sha3>if not defined npm_config_node_gyp (node "C:\Users\Joe\AppData\Local\atom\app-1.23.1\resources\app\apm\node_modules\npm\bin\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Users\Joe\AppData\Local\atom\app-1.23.1\resources\app\apm\bin\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) C:\Users\Joe\AppData\Local\Temp\apm-install-dir-1171114-26392-u93z4m.9v7ufk1emi `-- (empty)

npm WARN deprecated [email protected]: 🙌 Thanks for using Babel: we recommend using babel-preset-env now: please read babeljs.io/env to update! gyp ERR! configure error gyp ERR! stack Error: Python executable "C:\Users\Joe\AppData\Local\Programs\Python\Python36-32\python.EXE" is v3.6.3, which is not supported by gyp. gyp ERR! stack You can pass the --python switch to point to Python >= v2.5.0 & < 3.0.0. gyp ERR! stack at failPythonVersion (C:\Users\Joe\AppData\Local\atom\app-1.23.1\resources\app\apm\node_modules\node-gyp\lib\configure.js:454:14) gyp ERR! stack at C:\Users\Joe\AppData\Local\atom\app-1.23.1\resources\app\apm\node_modules\node-gyp\lib\configure.js:443:9 gyp ERR! stack at ChildProcess.exithandler (child_process.js:197:7) gyp ERR! stack at emitTwo (events.js:106:13) gyp ERR! stack at ChildProcess.emit (events.js:191:7) gyp ERR! stack at maybeClose (internal/child_process.js:877:16) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5) gyp ERR! System Windows_NT 10.0.15063 gyp ERR! command "C:\Users\Joe\AppData\Local\atom\app-1.23.1\resources\app\apm\bin\node.exe" "C:\Users\Joe\AppData\Local\atom\app-1.23.1\resources\app\apm\node_modules\node-gyp\bin\node-gyp.js" "rebuild" gyp ERR! cwd C:\Users\Joe\AppData\Local\Temp\apm-install-dir-1171114-26392-u93z4m.9v7ufk1emi\node_modules\etheratom\node_modules\keccak gyp ERR! node -v v6.9.5 gyp ERR! node-gyp -v v3.4.0 gyp ERR! not ok

npm ERR! Windows_NT 10.0.15063 npm ERR! argv "C:\Users\Joe\AppData\Local\atom\app-1.23.1\resources\app\apm\bin\node.exe" "C:\Users\Joe\AppData\Local\atom\app-1.23.1\resources\app\apm\node_modules\npm\bin\npm-cli.js" "run" "rebuild" npm ERR! node v6.9.5 npm ERR! npm v3.10.10 npm ERR! code ELIFECYCLE npm ERR! [email protected] rebuild: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] rebuild 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 keccak 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 keccak npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls keccak npm ERR! There is likely additional logging output above. npm WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR! Please include the following file with any support request: npm ERR! C:\Users\Joe\AppData\Local\Temp\apm-install-dir-1171114-26392-u93z4m.9v7ufk1emi\node_modules\etheratom\node_modules\keccak\npm-debug.log gyp ERR! configure error gyp ERR! stack Error: Python executable "C:\Users\Joe\AppData\Local\Programs\Python\Python36-32\python.EXE" is v3.6.3, which is not supported by gyp. gyp ERR! stack You can pass the --python switch to point to Python >= v2.5.0 & < 3.0.0. gyp ERR! stack at failPythonVersion (C:\Users\Joe\AppData\Local\atom\app-1.23.1\resources\app\apm\node_modules\node-gyp\lib\configure.js:454:14) gyp ERR! stack at C:\Users\Joe\AppData\Local\atom\app-1.23.1\resources\app\apm\node_modules\node-gyp\lib\configure.js:443:9 gyp ERR! stack at ChildProcess.exithandler (child_process.js:197:7) gyp ERR! stack at emitTwo (events.js:106:13) gyp ERR! stack at ChildProcess.emit (events.js:191:7) gyp ERR! stack at maybeClose (internal/child_process.js:877:16) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5) gyp ERR! System Windows_NT 10.0.15063 gyp ERR! command "C:\Users\Joe\AppData\Local\atom\app-1.23.1\resources\app\apm\bin\node.exe" "C:\Users\Joe\AppData\Local\atom\app-1.23.1\resources\app\apm\node_modules\node-gyp\bin\node-gyp.js" "rebuild" gyp ERR! cwd C:\Users\Joe\AppData\Local\Temp\apm-install-dir-1171114-26392-u93z4m.9v7ufk1emi\node_modules\etheratom\node_modules\secp256k1 gyp ERR! node -v v6.9.5 gyp ERR! node-gyp -v v3.4.0 gyp ERR! not ok

npm ERR! Windows_NT 10.0.15063 npm ERR! argv "C:\Users\Joe\AppData\Local\atom\app-1.23.1\resources\app\apm\bin\node.exe" "C:\Users\Joe\AppData\Local\atom\app-1.23.1\resources\app\apm\node_modules\npm\bin\npm-cli.js" "run" "rebuild" npm ERR! node v6.9.5 npm ERR! npm v3.10.10 npm ERR! code ELIFECYCLE npm ERR! [email protected] rebuild: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] rebuild 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 secp256k1 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 secp256k1 npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls secp256k1 npm ERR! There is likely additional logging output above. npm WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR! Please include the following file with any support request: npm ERR! C:\Users\Joe\AppData\Local\Temp\apm-install-dir-1171114-26392-u93z4m.9v7ufk1emi\node_modules\etheratom\node_modules\secp256k1\npm-debug.log gyp ERR! configure error gyp ERR! stack Error: Python executable "C:\Users\Joe\AppData\Local\Programs\Python\Python36-32\python.EXE" is v3.6.3, which is not supported by gyp. gyp ERR! stack You can pass the --python switch to point to Python >= v2.5.0 & < 3.0.0. gyp ERR! stack at failPythonVersion (C:\Users\Joe\AppData\Local\atom\app-1.23.1\resources\app\apm\node_modules\node-gyp\lib\configure.js:454:14) gyp ERR! stack at C:\Users\Joe\AppData\Local\atom\app-1.23.1\resources\app\apm\node_modules\node-gyp\lib\configure.js:443:9 gyp ERR! stack at ChildProcess.exithandler (child_process.js:197:7) gyp ERR! stack at emitTwo (events.js:106:13) gyp ERR! stack at ChildProcess.emit (events.js:191:7) gyp ERR! stack at maybeClose (internal/child_process.js:877:16) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5) gyp ERR! System Windows_NT 10.0.15063 gyp ERR! command "C:\Users\Joe\AppData\Local\atom\app-1.23.1\resources\app\apm\bin\node.exe" "C:\Users\Joe\AppData\Local\atom\app-1.23.1\resources\app\apm\node_modules\node-gyp\bin\node-gyp.js" "rebuild" gyp ERR! cwd C:\Users\Joe\AppData\Local\Temp\apm-install-dir-1171114-26392-u93z4m.9v7ufk1emi\node_modules\etheratom\node_modules\sha3 gyp ERR! node -v v6.9.5 gyp ERR! node-gyp -v v3.4.0 gyp ERR! not ok npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\Joe\AppData\Local\Temp\apm-install-dir-1171114-26392-u93z4m.9v7ufk1emi\package.json' npm WARN apm-install-dir-1171114-26392-u93z4m.9v7ufk1emi No description npm WARN apm-install-dir-1171114-26392-u93z4m.9v7ufk1emi No repository field. npm WARN apm-install-dir-1171114-26392-u93z4m.9v7ufk1emi No README data npm WARN apm-install-dir-1171114-26392-u93z4m.9v7ufk1emi No license field. npm ERR! Windows_NT 10.0.15063 npm ERR! argv "C:\Users\Joe\AppData\Local\atom\app-1.23.1\resources\app\apm\bin\node.exe" "C:\Users\Joe\AppData\Local\atom\app-1.23.1\resources\app\apm\node_modules\npm\bin\npm-cli.js" "--globalconfig" "C:\Users\Joe\.atom\.apm\.apmrc" "--userconfig" "C:\Users\Joe\.atom\.apmrc" "install" "C:\Users\Joe\AppData\Local\Temp\d-1171114-26392-ji2ha9.7yq1if6r\package.tgz" "--runtime=electron" "--target=1.6.15" "--arch=x64" "--global-style" npm ERR! node v6.9.5 npm ERR! npm v3.10.10 npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] 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! Please include the following file with any support request: npm ERR! C:\Users\Joe\AppData\Local\Temp\apm-install-dir-1171114-26392-u93z4m.9v7ufk1emi\npm-debug.log npm ERR! code 1

subspan avatar Dec 15 '17 04:12 subspan

You need to use Python >= v2.5.0 & < 3.0.0.

0mkara avatar Dec 15 '17 08:12 0mkara

My apologies, cleared & re-installed 2.7.14 Output:

[email protected] install C:\Users\Joe\AppData\Local\Temp\apm-install-dir-1171115-51136-i3j12r.gphw0wl8fr\node_modules\etheratom\node_modules\keccak npm run rebuild || echo "Keccak bindings compilation fail. Pure JS implementation will be used."

[email protected] rebuild C:\Users\Joe\AppData\Local\Temp\apm-install-dir-1171115-51136-i3j12r.gphw0wl8fr\node_modules\etheratom\node_modules\keccak node-gyp rebuild

C:\Users\Joe\AppData\Local\Temp\apm-install-dir-1171115-51136-i3j12r.gphw0wl8fr\node_modules\etheratom\node_modules\keccak>if not defined npm_config_node_gyp (node "C:\Users\Joe\AppData\Local\atom\app-1.23.1\resources\app\apm\node_modules\npm\bin\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Users\Joe\AppData\Local\atom\app-1.23.1\resources\app\apm\bin\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch. MSBUILD : error MSB3428: Could not load the Visual C++ component "VCBuild.exe". To fix this, 1) install the .NET Framework 2.0 SDK, 2) install Microsoft Visual Studio 2005 or 3) add the location of the component to the system path if it is installed elsewhere. [C:\Users\Joe\AppData\Local\Temp\apm-install-dir-1171115-51136-i3j12r.gphw0wl8fr\node_modules\etheratom\node_modules\keccak\build\binding.sln] "Keccak bindings compilation fail. Pure JS implementation will be used."

[email protected] install C:\Users\Joe\AppData\Local\Temp\apm-install-dir-1171115-51136-i3j12r.gphw0wl8fr\node_modules\etheratom\node_modules\secp256k1 npm run rebuild || echo "Secp256k1 bindings compilation fail. Pure JS implementation will be used."

[email protected] rebuild C:\Users\Joe\AppData\Local\Temp\apm-install-dir-1171115-51136-i3j12r.gphw0wl8fr\node_modules\etheratom\node_modules\secp256k1 node-gyp rebuild

C:\Users\Joe\AppData\Local\Temp\apm-install-dir-1171115-51136-i3j12r.gphw0wl8fr\node_modules\etheratom\node_modules\secp256k1>if not defined npm_config_node_gyp (node "C:\Users\Joe\AppData\Local\atom\app-1.23.1\resources\app\apm\node_modules\npm\bin\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Users\Joe\AppData\Local\atom\app-1.23.1\resources\app\apm\bin\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch. MSBUILD : error MSB3428: Could not load the Visual C++ component "VCBuild.exe". To fix this, 1) install the .NET Framework 2.0 SDK, 2) install Microsoft Visual Studio 2005 or 3) add the location of the component to the system path if it is installed elsewhere. [C:\Users\Joe\AppData\Local\Temp\apm-install-dir-1171115-51136-i3j12r.gphw0wl8fr\node_modules\etheratom\node_modules\secp256k1\build\binding.sln] "Secp256k1 bindings compilation fail. Pure JS implementation will be used."

[email protected] install C:\Users\Joe\AppData\Local\Temp\apm-install-dir-1171115-51136-i3j12r.gphw0wl8fr\node_modules\etheratom\node_modules\sha3 node-gyp rebuild

C:\Users\Joe\AppData\Local\Temp\apm-install-dir-1171115-51136-i3j12r.gphw0wl8fr\node_modules\etheratom\node_modules\sha3>if not defined npm_config_node_gyp (node "C:\Users\Joe\AppData\Local\atom\app-1.23.1\resources\app\apm\node_modules\npm\bin\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Users\Joe\AppData\Local\atom\app-1.23.1\resources\app\apm\bin\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch. MSBUILD : error MSB3428: Could not load the Visual C++ component "VCBuild.exe". To fix this, 1) install the .NET Framework 2.0 SDK, 2) install Microsoft Visual Studio 2005 or 3) add the location of the component to the system path if it is installed elsewhere. [C:\Users\Joe\AppData\Local\Temp\apm-install-dir-1171115-51136-i3j12r.gphw0wl8fr\node_modules\etheratom\node_modules\sha3\build\binding.sln] C:\Users\Joe\AppData\Local\Temp\apm-install-dir-1171115-51136-i3j12r.gphw0wl8fr `-- (empty)

npm WARN deprecated [email protected]: 🙌 Thanks for using Babel: we recommend using babel-preset-env now: please read babeljs.io/env to update! gyp ERR! build error gyp ERR! stack Error: C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe failed with exit code: 1 gyp ERR! stack at ChildProcess.onExit (C:\Users\Joe\AppData\Local\atom\app-1.23.1\resources\app\apm\node_modules\node-gyp\lib\build.js:276: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.15063 gyp ERR! command "C:\Users\Joe\AppData\Local\atom\app-1.23.1\resources\app\apm\bin\node.exe" "C:\Users\Joe\AppData\Local\atom\app-1.23.1\resources\app\apm\node_modules\node-gyp\bin\node-gyp.js" "rebuild" gyp ERR! cwd C:\Users\Joe\AppData\Local\Temp\apm-install-dir-1171115-51136-i3j12r.gphw0wl8fr\node_modules\etheratom\node_modules\keccak gyp ERR! node -v v6.9.5 gyp ERR! node-gyp -v v3.4.0 gyp ERR! not ok

npm ERR! Windows_NT 10.0.15063 npm ERR! argv "C:\Users\Joe\AppData\Local\atom\app-1.23.1\resources\app\apm\bin\node.exe" "C:\Users\Joe\AppData\Local\atom\app-1.23.1\resources\app\apm\node_modules\npm\bin\npm-cli.js" "run" "rebuild" npm ERR! node v6.9.5 npm ERR! npm v3.10.10 npm ERR! code ELIFECYCLE npm ERR! [email protected] rebuild: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] rebuild 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 keccak 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 keccak npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls keccak npm ERR! There is likely additional logging output above. npm WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR! Please include the following file with any support request: npm ERR! C:\Users\Joe\AppData\Local\Temp\apm-install-dir-1171115-51136-i3j12r.gphw0wl8fr\node_modules\etheratom\node_modules\keccak\npm-debug.log gyp ERR! build error gyp ERR! stack Error: C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe failed with exit code: 1 gyp ERR! stack at ChildProcess.onExit (C:\Users\Joe\AppData\Local\atom\app-1.23.1\resources\app\apm\node_modules\node-gyp\lib\build.js:276: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.15063 gyp ERR! command "C:\Users\Joe\AppData\Local\atom\app-1.23.1\resources\app\apm\bin\node.exe" "C:\Users\Joe\AppData\Local\atom\app-1.23.1\resources\app\apm\node_modules\node-gyp\bin\node-gyp.js" "rebuild" gyp ERR! cwd C:\Users\Joe\AppData\Local\Temp\apm-install-dir-1171115-51136-i3j12r.gphw0wl8fr\node_modules\etheratom\node_modules\secp256k1 gyp ERR! node -v v6.9.5 gyp ERR! node-gyp -v v3.4.0 gyp ERR! not ok

npm ERR! Windows_NT 10.0.15063 npm ERR! argv "C:\Users\Joe\AppData\Local\atom\app-1.23.1\resources\app\apm\bin\node.exe" "C:\Users\Joe\AppData\Local\atom\app-1.23.1\resources\app\apm\node_modules\npm\bin\npm-cli.js" "run" "rebuild" npm ERR! node v6.9.5 npm ERR! npm v3.10.10 npm ERR! code ELIFECYCLE npm ERR! [email protected] rebuild: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] rebuild 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 secp256k1 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 secp256k1 npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls secp256k1 npm ERR! There is likely additional logging output above. npm WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR! Please include the following file with any support request: npm ERR! C:\Users\Joe\AppData\Local\Temp\apm-install-dir-1171115-51136-i3j12r.gphw0wl8fr\node_modules\etheratom\node_modules\secp256k1\npm-debug.log gyp ERR! build error gyp ERR! stack Error: C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe failed with exit code: 1 gyp ERR! stack at ChildProcess.onExit (C:\Users\Joe\AppData\Local\atom\app-1.23.1\resources\app\apm\node_modules\node-gyp\lib\build.js:276: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.15063 gyp ERR! command "C:\Users\Joe\AppData\Local\atom\app-1.23.1\resources\app\apm\bin\node.exe" "C:\Users\Joe\AppData\Local\atom\app-1.23.1\resources\app\apm\node_modules\node-gyp\bin\node-gyp.js" "rebuild" gyp ERR! cwd C:\Users\Joe\AppData\Local\Temp\apm-install-dir-1171115-51136-i3j12r.gphw0wl8fr\node_modules\etheratom\node_modules\sha3 gyp ERR! node -v v6.9.5 gyp ERR! node-gyp -v v3.4.0 gyp ERR! not ok npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\Joe\AppData\Local\Temp\apm-install-dir-1171115-51136-i3j12r.gphw0wl8fr\package.json' npm WARN apm-install-dir-1171115-51136-i3j12r.gphw0wl8fr No description npm WARN apm-install-dir-1171115-51136-i3j12r.gphw0wl8fr No repository field. npm WARN apm-install-dir-1171115-51136-i3j12r.gphw0wl8fr No README data npm WARN apm-install-dir-1171115-51136-i3j12r.gphw0wl8fr No license field. npm ERR! Windows_NT 10.0.15063 npm ERR! argv "C:\Users\Joe\AppData\Local\atom\app-1.23.1\resources\app\apm\bin\node.exe" "C:\Users\Joe\AppData\Local\atom\app-1.23.1\resources\app\apm\node_modules\npm\bin\npm-cli.js" "--globalconfig" "C:\Users\Joe\.atom\.apm\.apmrc" "--userconfig" "C:\Users\Joe\.atom\.apmrc" "install" "C:\Users\Joe\AppData\Local\Temp\d-1171115-51136-15wnaa4.8e9ltyb9\package.tgz" "--runtime=electron" "--target=1.6.15" "--arch=x64" "--global-style" npm ERR! node v6.9.5 npm ERR! npm v3.10.10 npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] 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! Please include the following file with any support request: npm ERR! C:\Users\Joe\AppData\Local\Temp\apm-install-dir-1171115-51136-i3j12r.gphw0wl8fr\npm-debug.log npm ERR! code 1

no debug.log

subspan avatar Dec 16 '17 04:12 subspan

Ok now try

apm install ether atom
cd path/to/project
atom .

If you have already tried that then possibly this can not be resolved right away.

0mkara avatar Dec 16 '17 05:12 0mkara

Thanks for your support so far, that did not work either and no problem if this issue cannot be resolved right away;

Output now from terminal:

npm WARN deprecated [email protected]: 🙌 Thanks for using Babel: we re commend using babel-preset-env now: please read babeljs.io/env to update! npm ERR! git submodule -q update --init --recursive: C:\Program Files (x86)\Git\ mingw32/libexec/git-core\git-submodule: line 19: .: git-sh-setup: file not found npm ERR! git submodule -q update --init --recursive: npm ERR! Windows_NT 10.0.15063 npm ERR! argv "C:\Users\Joe\AppData\Local\atom\app-1.23.1\resources\app\ \apm\bin\node.exe" "C:\Users\Joe\AppData\Local\atom\app-1.23.1\resource s\app\apm\node_modules\npm\bin\npm-cli.js" "--globalconfig" "C:\Users\Jo e\.atom\.apm\.apmrc" "--userconfig" "C:\Users\Joe\.atom\.apmrc" "install" "C:\Users\Joe\AppData\Local\Temp\d-1171116-47412-pich4h.bhjohqto6r\packa ge.tgz" "--runtime=electron" "--target=1.6.15" "--arch=x64" "--global-style" npm ERR! node v6.9.5 npm ERR! npm v3.10.10 npm ERR! code 1

npm ERR! Command failed: git -c core.longpaths=true submodule -q update --init - -recursive npm ERR! C:\Program Files (x86)\Git\mingw32/libexec/git-core\git-submodule: line 19: .: git-sh-setup: file not found npm ERR! npm ERR! npm ERR! If you need help, you may report this error at: npm ERR! https://github.com/npm/npm/issues

npm ERR! Please include the following file with any support request: npm ERR! C:\Users\Joe\AppData\Local\Temp\apm-install-dir-1171116-47412-15eg7 u7.2zjp7dgqfr\npm-debug.log

subspan avatar Dec 16 '17 06:12 subspan

This looks something new and I have no idea why :man_facepalming:

0mkara avatar Dec 16 '17 09:12 0mkara

+1

boriskogan81 avatar Feb 21 '18 13:02 boriskogan81

+1

lorenzobersano avatar Feb 24 '18 08:02 lorenzobersano

+1

OneCoin5759 avatar Mar 15 '18 02:03 OneCoin5759

Please use :+1: emoji if you too having this issue. Thanks!

0mkara avatar Mar 15 '18 04:03 0mkara

+1

amartinez-cloud avatar Mar 21 '18 16:03 amartinez-cloud

Please, use the package "windows-build-tools". Related with Visual C++ vs. Python. https://github.com/felixrieseberg/windows-build-tools

amartinez-cloud avatar Mar 22 '18 08:03 amartinez-cloud

👍

nombreinvicto avatar Dec 15 '18 04:12 nombreinvicto

Many solutions found online don't seem to be working so I'm sharing my experience as it's working like a charm:

1/ Install windows-build-tools npm install --global --production windows-build-tools (if it doesn't work use [email protected] instead of simply windows-build-tool)

2/ Open PowerShell (admin mode) and go to =>cd C:\Users\YOUR_USER\AppData\Local\atom\app-1.34.0\resources\app\apm

3/ then npm install [email protected] (if it doesn't work, install npm and if it still doesn't work then manually install python 2.7 => if you already have python installed you need to make sure that the default python command is executing 2.7... I won't explain that here but that was an issue with my setup as well ;))

4/ Then just go back to Atom and install it from the front-office or apm install etheratom (the apm command was not working for me so I went directly on the Atom's package manager)

5/ Create the new killer dApp ;-)

fabricus avatar Feb 24 '19 16:02 fabricus