0mkara / etheratom

Solidity compilation and Ethereum contract execution interface for hackable atom editor
https://atom.io/packages/etheratom
GNU General Public License v3.0
252 stars 41 forks source link

Issues installing etheratom on windows #231

Open T-Man-Stan opened 5 years ago

T-Man-Stan commented 5 years ago

I've installed the dev tools...I have a geth node running and ganache running. IDK what I'm doing wrong

Installing etheratom to C:\Users\Trevor.atom\packages failed

scrypt@6.0.3 preinstall C:\Users\Trevor\AppData\Local\Temp\apm-install-dir-1181126-19996-1d2u4s4.wdyl\node_modules\etheratom\node_modules\scrypt node node-scrypt-preinstall.js

nodent-runtime@3.2.1 install C:\Users\Trevor\AppData\Local\Temp\apm-install-dir-1181126-19996-1d2u4s4.wdyl\node_modules\etheratom\node_modules\nodent-runtime node build.js

Built C:\Users\Trevor\AppData\Local\Temp\apm-install-dir-1181126-19996-1d2u4s4.wdyl\node_modules\etheratom\node_modules\nodent-runtime/dist/index.js

keccak@1.4.0 install C:\Users\Trevor\AppData\Local\Temp\apm-install-dir-1181126-19996-1d2u4s4.wdyl\node_modules\etheratom\node_modules\keccak npm run rebuild || echo "Keccak bindings compilation fail. Pure JS implementation will be used."

keccak@1.4.0 rebuild C:\Users\Trevor\AppData\Local\Temp\apm-install-dir-1181126-19996-1d2u4s4.wdyl\node_modules\etheratom\node_modules\keccak node-gyp rebuild

C:\Users\Trevor\AppData\Local\Temp\apm-install-dir-1181126-19996-1d2u4s4.wdyl\node_modules\etheratom\node_modules\keccak>if not defined npm_config_node_gyp (node "C:\Users\Trevor\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Users\Trevor\AppData\Local\atom\app-1.33.1\resources\app\apm\bin\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) "Keccak bindings compilation fail. Pure JS implementation will be used."

scrypt@6.0.3 install C:\Users\Trevor\AppData\Local\Temp\apm-install-dir-1181126-19996-1d2u4s4.wdyl\node_modules\etheratom\node_modules\scrypt node-gyp rebuild

C:\Users\Trevor\AppData\Local\Temp\apm-install-dir-1181126-19996-1d2u4s4.wdyl\node_modules\etheratom\node_modules\scrypt>if not defined npm_config_node_gyp (node "C:\Users\Trevor\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Users\Trevor\AppData\Local\atom\app-1.33.1\resources\app\apm\bin\..\node_modules\node-gyp\bin\node-gyp.js" rebuild )

npm WARN deprecated babel-preset-es2015@6.24.1: 🙌 Thanks for using Babel: we recommend using babel-preset-env now: please read babeljs.io/env to update! npm WARN deprecated circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor. npm WARN deprecated babel-preset-es2017@6.24.1: 🙌 Thanks for using Babel: we recommend using babel-preset-env now: please read babeljs.io/env to update! npm WARN deprecated fs-promise@2.0.3: Use mz or fs-extra^3.0 with Promise Support npm WARN deprecated tar.gz@1.0.7: ⚠️ WARNING ⚠️ tar.gz module has been deprecated and your application is vulnerable. Please use tar module instead: https://npmjs.com/tar gyp info it worked if it ends with ok gyp verb cli [ 'C:\Users\Trevor\AppData\Local\atom\app-1.33.1\resources\app\apm\bin\node.exe', gyp verb cli 'C:\Users\Trevor\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\node-gyp\bin\node-gyp.js', gyp verb cli 'rebuild' ] gyp info using node-gyp@3.4.0 gyp info using node@8.9.3 | win32 | x64 gyp verb command rebuild [] gyp verb command clean [] gyp verb clean removing "build" directory gyp verb command configure [] gyp verb check python checking for Python executable "python2" in the PATH gyp verb which failed Error: not found: python2 gyp verb which failed at getNotFoundError (C:\Users\Trevor\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\which\which.js:13:12) gyp verb which failed at F (C:\Users\Trevor\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\which\which.js:68:19) gyp verb which failed at E (C:\Users\Trevor\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\which\which.js:80:29) gyp verb which failed at C:\Users\Trevor\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\which\which.js:89:16 gyp verb which failed at C:\Users\Trevor\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\isexe\index.js:42:5 gyp verb which failed at C:\Users\Trevor\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\isexe\windows.js:36:5 gyp verb which failed at FSReqWrap.oncomplete (fs.js:152:21) gyp verb which failed python2 { Error: not found: python2 gyp verb which failed at getNotFoundError (C:\Users\Trevor\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\which\which.js:13:12) gyp verb which failed at F (C:\Users\Trevor\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\which\which.js:68:19) gyp verb which failed at E (C:\Users\Trevor\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\which\which.js:80:29) gyp verb which failed at C:\Users\Trevor\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\which\which.js:89:16 gyp verb which failed at C:\Users\Trevor\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\isexe\index.js:42:5 gyp verb which failed at C:\Users\Trevor\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\isexe\windows.js:36:5 gyp verb which failed at FSReqWrap.oncomplete (fs.js:152:21) code: 'ENOENT' } gyp verb check python checking for Python executable "python" in the PATH gyp verb which succeeded python C:\Users\Trevor\AppData\Local\Programs\Python\Python36-32\python.EXE gyp verb check python version C:\Users\Trevor\AppData\Local\Programs\Python\Python36-32\python.EXE -c "import platform; print(platform.python_version());" returned: "3.6.4\r\n" gyp ERR! configure error gyp ERR! stack Error: Python executable "C:\Users\Trevor\AppData\Local\Programs\Python\Python36-32\python.EXE" is v3.6.4, 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\Trevor\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\node-gyp\lib\configure.js:454:14) gyp ERR! stack at C:\Users\Trevor\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\node-gyp\lib\configure.js:443:9 gyp ERR! stack at ChildProcess.exithandler (child_process.js:267:7) gyp ERR! stack at emitTwo (events.js:126:13) gyp ERR! stack at ChildProcess.emit (events.js:214:7) gyp ERR! stack at maybeClose (internal/child_process.js:925:16) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5) gyp ERR! System Windows_NT 10.0.17134 gyp ERR! command "C:\Users\Trevor\AppData\Local\atom\app-1.33.1\resources\app\apm\bin\node.exe" "C:\Users\Trevor\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\node-gyp\bin\node-gyp.js" "rebuild" gyp ERR! cwd C:\Users\Trevor\AppData\Local\Temp\apm-install-dir-1181126-19996-1d2u4s4.wdyl\node_modules\etheratom\node_modules\keccak gyp ERR! node -v v8.9.3 gyp ERR! node-gyp -v v3.4.0 gyp ERR! not ok npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! keccak@1.4.0 rebuild: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the keccak@1.4.0 rebuild script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Trevor.atom.apm_logs\2018-12-26T22_07_58_515Z-debug.log gyp info it worked if it ends with ok gyp verb cli [ 'C:\Users\Trevor\AppData\Local\atom\app-1.33.1\resources\app\apm\bin\node.exe', gyp verb cli 'C:\Users\Trevor\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\node-gyp\bin\node-gyp.js', gyp verb cli 'rebuild' ] gyp info using node-gyp@3.4.0 gyp info using node@8.9.3 | win32 | x64 gyp verb command rebuild [] gyp verb command clean [] gyp verb clean removing "build" directory gyp verb command configure [] gyp verb check python checking for Python executable "python2" in the PATH gyp verb which failed Error: not found: python2 gyp verb which failed at getNotFoundError (C:\Users\Trevor\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\which\which.js:13:12) gyp verb which failed at F (C:\Users\Trevor\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\which\which.js:68:19) gyp verb which failed at E (C:\Users\Trevor\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\which\which.js:80:29) gyp verb which failed at C:\Users\Trevor\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\which\which.js:89:16 gyp verb which failed at C:\Users\Trevor\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\isexe\index.js:42:5 gyp verb which failed at C:\Users\Trevor\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\isexe\windows.js:36:5 gyp verb which failed at FSReqWrap.oncomplete (fs.js:152:21) gyp verb which failed python2 { Error: not found: python2 gyp verb which failed at getNotFoundError (C:\Users\Trevor\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\which\which.js:13:12) gyp verb which failed at F (C:\Users\Trevor\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\which\which.js:68:19) gyp verb which failed at E (C:\Users\Trevor\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\which\which.js:80:29) gyp verb which failed at C:\Users\Trevor\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\which\which.js:89:16 gyp verb which failed at C:\Users\Trevor\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\isexe\index.js:42:5 gyp verb which failed at C:\Users\Trevor\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\isexe\windows.js:36:5 gyp verb which failed at FSReqWrap.oncomplete (fs.js:152:21) code: 'ENOENT' } gyp verb check python checking for Python executable "python" in the PATH gyp verb which succeeded python C:\Users\Trevor\AppData\Local\Programs\Python\Python36-32\python.EXE gyp verb check python version C:\Users\Trevor\AppData\Local\Programs\Python\Python36-32\python.EXE -c "import platform; print(platform.python_version());" returned: "3.6.4\r\n" gyp ERR! configure error gyp ERR! stack Error: Python executable "C:\Users\Trevor\AppData\Local\Programs\Python\Python36-32\python.EXE" is v3.6.4, 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\Trevor\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\node-gyp\lib\configure.js:454:14) gyp ERR! stack at C:\Users\Trevor\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\node-gyp\lib\configure.js:443:9 gyp ERR! stack at ChildProcess.exithandler (child_process.js:267:7) gyp ERR! stack at emitTwo (events.js:126:13) gyp ERR! stack at ChildProcess.emit (events.js:214:7) gyp ERR! stack at maybeClose (internal/child_process.js:925:16) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5) gyp ERR! System Windows_NT 10.0.17134 gyp ERR! command "C:\Users\Trevor\AppData\Local\atom\app-1.33.1\resources\app\apm\bin\node.exe" "C:\Users\Trevor\AppData\Local\atom\app-1.33.1\resources\app\apm\node_modules\node-gyp\bin\node-gyp.js" "rebuild" gyp ERR! cwd C:\Users\Trevor\AppData\Local\Temp\apm-install-dir-1181126-19996-1d2u4s4.wdyl\node_modules\etheratom\node_modules\scrypt gyp ERR! node -v v8.9.3 gyp ERR! node-gyp -v v3.4.0 gyp ERR! not ok npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\Trevor\AppData\Local\Temp\apm-install-dir-1181126-19996-1d2u4s4.wdyl\package.json' npm WARN remix-tests@0.0.20 requires a peer of yo-yoify@latest but none is installed. You must install peer dependencies yourself. npm WARN eslint-plugin-node@4.2.3 requires a peer of eslint@>=3.1.0 but none is installed. You must install peer dependencies yourself. npm WARN apm-install-dir-1181126-19996-1d2u4s4.wdyl No description npm WARN apm-install-dir-1181126-19996-1d2u4s4.wdyl No repository field. npm WARN apm-install-dir-1181126-19996-1d2u4s4.wdyl No README data npm WARN apm-install-dir-1181126-19996-1d2u4s4.wdyl No license field.

npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! scrypt@6.0.3 install: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the scrypt@6.0.3 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Trevor.atom.apm_logs\2018-12-26T22_08_26_514Z-debug.log