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

Install fails with ENOENT error on Windows 10 - missing apm-install-dir? #307

Open smadler77 opened 2 years ago

smadler77 commented 2 years ago

Attempted to install from the command line (apm install etheratom) on Windows 10 in Powershell and install failed with the error below (complete log attached and my username obfuscated with "XXXXX"). 2021-09-06T18_34_47_413Z-debug.log

OS: Windows 10 (x64) Etheratom v4.6.0 Atom version 1.58.0 x64

$ apm -version apm 2.6.2 npm 6.14.13 node 12.14.1 x64 atom 1.58.0 python 3.9.7 git 2.28.0.windows.1 visual studio 2019

25040 warn enoent ENOENT: no such file or directory, open 'C:\Users\XXXXX\AppData\Local\Temp\apm-install-dir-202186-19344-10tn4wq.m282j\package.json' 25041 verbose enoent This is related to npm not being able to find a file. 25042 warn react-dom@16.14.0 requires a peer of react@^16.14.0 but none is installed. You must install peer dependencies yourself. 25043 warn remix-tests@0.1.14 requires a peer of yo-yoify@latest but none is installed. You must install peer dependencies yourself. 25044 warn apm-install-dir-202186-19344-10tn4wq.m282j No description 25045 warn apm-install-dir-202186-19344-10tn4wq.m282j No repository field. 25046 warn apm-install-dir-202186-19344-10tn4wq.m282j No README data 25047 warn apm-install-dir-202186-19344-10tn4wq.m282j No license field. 25048 verbose stack Error: scrypt@6.0.3 install: node-gyp rebuild 25048 verbose stack Exit status 1 25048 verbose stack at EventEmitter. (C:\Users\smadl\AppData\Local\atom\app-1.58.0\resources\app\apm\node_modules\npm\node_modules\npm-lifecycle\index.js:332:16) 25048 verbose stack at EventEmitter.emit (events.js:223:5) 25048 verbose stack at ChildProcess. (C:\Users\smadl\AppData\Local\atom\app-1.58.0\resources\app\apm\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14) 25048 verbose stack at ChildProcess.emit (events.js:223:5) 25048 verbose stack at maybeClose (internal/child_process.js:1021:16) 25048 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5) 25049 verbose pkgid scrypt@6.0.3 25050 verbose cwd C:\Users\smadl\AppData\Local\Temp\apm-install-dir-202186-19344-10tn4wq.m282j 25051 verbose Windows_NT 10.0.19041 25052 verbose argv "C:\Users\smadl\AppData\Local\atom\app-1.58.0\resources\app\apm\bin\node.exe" "C:\Users\smadl\AppData\Local\atom\app-1.58.0\resources\app\apm\node_modules\npm\bin\npm-cli.js" "--globalconfig" "C:\Users\smadl\.atom\.apm\.apmrc" "--userconfig" "C:\Users\smadl\.atom\.apmrc" "install" "https://www.atom.io/api/packages/etheratom/versions/4.6.0/tarball" "--target=9.4.4" "--disturl=https://atom.io/download/electron" "--arch=x64" "--global-style" 25053 verbose node v12.14.1 25054 verbose npm v6.14.13 25055 error code ELIFECYCLE 25056 error errno 1 25057 error scrypt@6.0.3 install: node-gyp rebuild 25057 error Exit status 1 25058 error Failed at the scrypt@6.0.3 install script. 25058 error This is probably not a problem with npm. There is likely additional logging output above. 25059 verbose exit [ 1, true ]

Appreciate any assistance that you can provide.

Thanks!