Open pravinparab opened 4 years ago
i m having the same error when i try to build my docker images.
Hey i m having the same problem right now.
npm ERR! code ENOENT
npm ERR! syscall spawn git
npm ERR! path git
npm ERR! errno ENOENT
npm ERR! enoent Error while executing:
npm ERR! enoent undefined ls-remote -h -t ssh://git@github.com/eligrey/FileSaver.js.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
Did you ever figured it out?
Same here, trying to npm install material-table @material-ui/core --save
. Anyone can help?
Be aware that your network should be open for the git protocol: port 9418. We have had some similar issue because of the corporate firewall.
Here's my experience with this error. Might be a little different from yours but this was the issue that showed up when i search, so replying here to hopefully help someone
My issue was:
Resolved by
Don't have time to go through the full logs to determine the root cause but it looks like there's some command that grabs your git from the .git folder in your project instead of your /usr/bin/git to run the ls-remote -h -t ssh://
and won't work if your project folder's .git uses a gitdir link to another path
In my case I had to manually replace git://git@
or git+ssh://git@
by https://
protocol in package-lock.json
.
Before:
After:
I followed instructions from: https://github.com/parallax/jsPDF/issues/3420#issuecomment-1130391846
You may need to add your ssh pub key to github
Hi,
While doing npm install I am getting below issue
npm ERR! Error while executing: npm ERR! C:\Program Files\Git\cmd\git.EXE ls-remote -h -t ssh://git@github.com/eligrey/FileSaver.js.git npm ERR! npm ERR! ssh: connect to host github.com port 22: Connection timed out npm ERR! fatal: Could not read from remote repository. npm ERR! npm ERR! Please make sure you have the correct access rights npm ERR! and the repository exists. npm ERR! npm ERR! exited with error code: 128
npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\pravinpa\AppData\Roaming\npm-cache_logs\2020-07-28T05_15_04_093Z-debug.log