Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

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

Open
smadler77 opened this issue Sep 6, 2021 · 0 comments

Comments

@smadler77
Copy link

smadler77 commented Sep 6, 2021

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 [email protected] requires a peer of react@^16.14.0 but none is installed. You must install peer dependencies yourself.
25043 warn [email protected] 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: [email protected] 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 [email protected]
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 [email protected] install: node-gyp rebuild
25057 error Exit status 1
25058 error Failed at the [email protected] 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!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant