atom-git-control icon indicating copy to clipboard operation
atom-git-control copied to clipboard

Error: No Such Device Or Address

Open iFaxity opened this issue 8 years ago • 4 comments

Hi i'm running Atom on Windows 10 with some packages including "atom-git-control" but cant seem to get anything to work as the console throws the error:

bash: /dev/tty: No such device or address error: failed to execute prompt script (exit code 1) fatal: could not read Username for 'https//github.com': No error 'git fetch --prune' exited with error code 128

I don't know why it tries to connect with bash with a linux folde path (/dev/tty). Does this package work well with Windows 10 or is this Mac & Linux only?

iFaxity avatar Sep 12 '15 13:09 iFaxity

This package uses the npm package git-promise, which uses shelljs. It should work on your windows machine and works fine on windows 7. fatal: could not read Username for 'https//github.com': No error is thrown most likely because you don't have a username / password for github in your git keystore.

MarcelMue avatar Oct 05 '15 11:10 MarcelMue

I Have the same case but, I have git-promise installed on my Windows 10

bash: /dev/tty: No such device or address
error: failed to execute prompt script (exit code 1)
fatal: could not read Password for 'http://xarkam@*******.osames.org': Invalid argument
'git fetch --prune' exited with error code 128

I did not want to leave the password in a keystore

Xarkam avatar Feb 01 '16 13:02 Xarkam

It seems like git-promise is not working well with windows 10 for some reason. If someone could confirm this it would help. The package works well on my MacBook Pro. It probably has to do with the bash: /dev/tty: No such device or address as windows does not have Bash it seems a bit odd.

It's not much of a problem tho. I just use the GitHub Desktop application for syncing my stuff anyways. I would suggest others do too. At least until it's fixed.

iFaxity avatar Feb 01 '16 14:02 iFaxity

Guys I just had this issue setting up a local gitlab instance and was able to resolve it by storing my credentials in the git store according to this article. https://git-scm.com/docs/git-credential-store It seems that the git-control doesn't provide a means for the "prompt" for credentials approach and expects to be able to find them in the store. Hope this helps.

WolfieWerewolf avatar May 02 '16 22:05 WolfieWerewolf