-
Notifications
You must be signed in to change notification settings - Fork 149
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
unable to run tests without building library first (missing authentication handler) #278
Comments
@kittaakos apologies for the delay on this. I just encountered this on a fresh clone and after I poked at the result from one of the failing tests I got this response from Git: {
"stdout": "",
"stderr": "Cloning into '.'...\nmodule.js:550\n throw err;\n ^\n\nError: Cannot find module '\/Users\/shiftkey\/src\/dugite\/build\/test\/auth\/main.js'\n at Function.Module._resolveFilename (module.js:548:15)\n at Function.Module._load (module.js:475:25)\n at Function.Module.runMain (module.js:694:10)\n at startup (bootstrap_node.js:204:16)\n at bootstrap_node.js:625:3\nerror: unable to read askpass response from '\/Users\/shiftkey\/src\/dugite\/test\/auth\/ask-pass.sh'\nfatal: could not read Username for 'https:\/\/github.com': terminal prompts disabled\n",
"exitCode": 128
} The key message is this bit:
What fixed this for me was doing an Can you confirm you don't have that |
Yes.
I can confirm. So the error was due to Thank you for looking into it! |
Not quite. With the tests we configure The Lines 3 to 7 in 8f5d928
We're using plain I don't think switching over to I'm going to update the title to reflect the root cause. |
master
?
This is what I meant, sorry for the confusion. The tests can run with |
I have failing test cases with 3437543. I thought it is due to my Git version, so I have tried with different versions:
2.14.1
,2.17.1
, and2.20.1
. All failed. Am I missing some credential settings from the configuration file? Thank you!I did:
I got:
The text was updated successfully, but these errors were encountered: