Closed GuitarHer01 closed 3 years ago
Some file is missing. Did you look at the complete log?
This is the complete log:
0 info it worked if it ends with ok 1 verbose cli [ 1 verbose cli 'C:\Program Files\nodejs\node.exe', 1 verbose cli 'C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js', 1 verbose cli 'install', 1 verbose cli '-g', 1 verbose cli 'https://github.com/jsiegenthaler/eosstb/' 1 verbose cli ] 2 info using npm@6.14.9 3 info using node@v14.15.3 4 verbose npm-session f46dd06e6ccc431e 5 silly install loadCurrentTree 6 silly install readGlobalPackageData 7 silly fetchPackageMetaData error for git+https://github.com/jsiegenthaler/eosstb.git Error while executing: 7 silly fetchPackageMetaData undefined ls-remote -h -t https://github.com/jsiegenthaler/eosstb.git 7 silly fetchPackageMetaData 7 silly fetchPackageMetaData 7 silly fetchPackageMetaData spawn git ENOENT 8 timing stage:rollbackFailedOptional Completed in 1ms 9 timing stage:runTopLevelLifecycles Completed in 285ms 10 verbose stack Error: spawn git ENOENT 10 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:269:19) 10 verbose stack at onErrorNT (internal/child_process.js:465:16) 10 verbose stack at processTicksAndRejections (internal/process/task_queues.js:80:21) 11 verbose cwd C:\WINDOWS\system32 12 verbose Windows_NT 10.0.19041 13 verbose argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "-g" "https://github.com/jsiegenthaler/eosstb/" 14 verbose node v14.15.3 15 verbose npm v6.14.9 16 error code ENOENT 17 error syscall spawn git 18 error path git 19 error errno -4058 20 error enoent Error while executing: 20 error enoent undefined ls-remote -h -t https://github.com/jsiegenthaler/eosstb.git 20 error enoent 20 error enoent 20 error enoent spawn git ENOENT 21 error enoent This is related to npm not being able to find a file. 22 verbose exit [ -4058, true ]
Turned out to be a local problem. I installed Git twice and now it's working.
That's good to hear. I was racking my brain trying to think what it could be. Thanks for closing the issue.
I cannot install eosstb.
C:\WINDOWS\system32>npm install -g https://github.com/jsiegenthaler/eosstb/ npm ERR! code ENOENT npm ERR! syscall spawn git npm ERR! path git npm ERR! errno -4058 npm ERR! enoent Error while executing: npm ERR! enoent undefined ls-remote -h -t https://github.com/jsiegenthaler/eosstb.git npm ERR! enoent npm ERR! enoent npm ERR! enoent spawn git ENOENT npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent
npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\XXXXX\AppData\Roaming\npm-cache_logs\2021-01-08T23_02_09_292Z-debug.log)
Same error when I use npm install -g homebridge-eosstb
Is this something that I can fix?