-
Notifications
You must be signed in to change notification settings - Fork 99
could not read Username for 'https://github.com': Invalid argument #14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Are you on windows? ... and post the working solution! |
For me the solution to this was updating the remote URL to:
|
@tsupol 1- Create a ssh key using Git Bash using following command
After running this command just install the by default options and enter the password balnk when it prompts. 2- Then run the following commands to locate the public/private key generated from step1
3- Then run the following command to view your public:
4- Copy your public key and go to your GitHub account -> settings -> create a SSH and GPG keys then click new ssh key and past your public key in the in key text field. 5- Verify your public key using Git Bash by running the following command:
You will get output like this
Then you no longer got "could not read Username for 'https://github.com': Invalid argument" |
Thanks for summarizing the golden way with proper certificates. |
I answer with best possible solution according to problem. |
@rashid-softordi Many thanks for that great tutorial! |
Also had this issue an solved it creating a GH_TOKEN like described in here , then running the ngh command with the repo flag like this: |
@ragv1 Did you set up the environment variable GH_TOKEN, too? |
@JohannesHope No i did not. I just save the GH_TOKEN in a text file and copy/ paste whenever i needed. |
This will only work if password does not contain "@" symbol. |
This helped
|
delete ..node_modules/gh-pages/.cache folder poup may come again and throw error. If pops up, delete the git credentials manually from Windows Credential Manager. after this I ran my command, pop up never came. |
And if password does not contain "|" symbol. |
Just to share how I did it. I used an access token to get access.
|
Hi
I'm following usage guide, but see error from issue name. What can be the reason? Here is my log with no-silent option:
...
Copying files
Adding all
Committing
Pushing
An error occurred!
(node:5644) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): ProcessError: 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': Invalid argument
The text was updated successfully, but these errors were encountered: