Skip to content

ask-pass-trampoline.bat: No such file or directory #4124

Closed

Description

@NathnC

Description

trying to pull push or clone anything results in this error

Version

GitHub Desktop version: [1.1.0]

OS version: [windows 10 latest update]

Steps to Reproduce

  1. add / clone / new repo
  2. try to pull origin or push

Expected behavior: pulls it down without error like it does on my mac laptop

Actual behavior: errors

Reproduces how often: every time

Logs

2018-02-27T20:52:14.358Z - info: [main] Received possible protocol arguments: 2 2018-02-27T20:52:15.031Z - info: [ui] [AppStore] loading 2 repositories from store 2018-02-27T20:52:15.031Z - info: [ui] [AppStore] found account: NathnC (Nathan Connor) 2018-02-27T20:52:17.169Z - info: [ui] launching: 1.1.0 (Windows 10.0.16299) 2018-02-27T20:52:17.169Z - info: [ui] execPath: 'C:\Users\Nathan\AppData\Local\GitHubDesktop\app-1.1.0\GitHubDesktop.exe' 2018-02-27T20:52:17.174Z - info: [ui] Executing getCommits: git log 50a38afb8f700118370273a07b5d7c1ef707ae81 --date=raw --max-count=1 --pretty=%H%x1F%s%x1F%b%x1F%an <%ae> %ad%x1F%cn <%ce> %cd%x1F%P%x1F%(trailers:unfold,only) -z --no-color -- (took 1.228s) 2018-02-27T20:52:17.464Z - info: [ui] Executing getRecentBranches: git log -g --no-abbrev-commit --pretty=oneline HEAD -n 2500 -- (took 1.342s) 2018-02-27T20:52:17.464Z - info: [ui] Executing getBranches: git for-each-ref --format=%(refname)%00%(refname:short)%00%(upstream:short)%00%(objectname)%00%(author)%00%(committer)%00%(parent)%00%(symref)%00%(subject)%00%(body)%00%(trailers:unfold,only)%00%1F refs/heads refs/remotes (took 1.388s) 2018-02-27T20:52:17.532Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 1.495s) 2018-02-27T20:52:18.187Z - info: [ui] Executing getConfigValueInPath: git config -z trailer.separators (took 1.013s) 2018-02-27T20:52:18.480Z - info: [ui] Stats reported. 2018-02-27T20:52:18.606Z - info: [ui] Executing getRemotes: git remote -v (took 1.051s) 2018-02-27T20:52:18.947Z - info: [ui] Executing installGlobalLFSFilter: git lfs install --skip-repo (took 2.729s) 2018-02-27T20:52:34.043Z - info: [ui] [AppStore.withAuthenticatingUser] account found for repository: fiverp - NathnC (has token) 2018-02-27T20:52:35.787Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 1.733s) 2018-02-27T20:52:35.789Z - error: [ui] git -c credential.helper= fetch --progress --prune origin` exited with an unexpected code: 128.
error: cannot spawn C:\Users\Nathan\AppData\Local\GitHubDesktop\app-1.1.0\resources\app\static\ask-pass-trampoline.bat: No such file or directory
fatal: could not read Username for 'https://github.com': terminal prompts disabled

2018-02-27T20:52:42.299Z - info: [ui] [AppStore] removing account NathnC (Nathan Connor) from store
2018-02-27T20:52:44.581Z - info: [ui] [SignInStore] initializing OAuth flow
2018-02-27T20:52:44.673Z - info: [main] opening in browser: https://github.com/login/oauth/authorize?HIDDENBYME
2018-02-27T20:52:48.507Z - info: [main] Received possible protocol arguments: 4
2018-02-27T20:52:48.507Z - info: [main] Processing protocol url
2018-02-27T20:52:48.509Z - info: [ui] [Dispatcher] requesting authenticated user
2018-02-27T20:52:48.548Z - info: [main] Received possible protocol arguments: 4
2018-02-27T20:52:48.550Z - info: [main] Processing protocol url
2018-02-27T20:52:49.207Z - info: [ui] [SignInStore] account resolved
2018-02-27T20:52:49.207Z - info: [ui] [AppStore] adding account NathnC (Nathan Connor) to store
2018-02-27T20:52:50.744Z - info: [ui] [AppStore.withAuthenticatingUser] account found for repository: fiverp - NathnC (has token)
2018-02-27T20:52:51.366Z - error: [ui] git -c credential.helper= fetch --progress --prune origin exited with an unexpected code: 128.
error: cannot spawn C:\Users\Nathan\AppData\Local\GitHubDesktop\app-1.1.0\resources\app\static\ask-pass-trampoline.bat: No such file or directory
fatal: could not read Username for 'https://github.com': terminal prompts disabled

2018-02-27T20:53:59.706Z - info: [ui] [AppStore.getAccountForRemoteURL] account found for remote: https://github.com/NathnC/fiverp.git - NathnC (has token)
2018-02-27T20:54:00.553Z - error: [ui] git -c credential.helper= clone --recursive --progress -- https://github.com/NathnC/fiverp.git C:\Users\Nathan\Documents\GitHub\fiverp exited with an unexpected code: 128.
Cloning into 'C:\Users\Nathan\Documents\GitHub\fiverp'...
error: cannot spawn C:\Users\Nathan\AppData\Local\GitHubDesktop\app-1.1.0\resources\app\static\ask-pass-trampoline.bat: No such file or directory
fatal: could not read Username for 'https://github.com': terminal prompts disabled

`

Additional Information

error:
error: cannot spawn C:\Users\Nathan\AppData\Local\GitHubDesktop\app-1.1.0\resources\app\static\ask-pass-trampoline.bat: No such file or directory fatal: could not read Username for 'https://github.com': terminal prompts disabled

also ive tried reinstalling about 6 times, reinstalling git, moving folder location, relogging etc

Activity

  1. sajaddp commented on Mar 3, 2018

    @sajaddp

    I have the same problem with version 1.1.0

  2. patrickdundas commented on Mar 5, 2018

    @patrickdundas

    Me too, this really sucks (I explained my error here: #4181)

  3. patrickdundas commented on Mar 5, 2018

    @patrickdundas

    Are either of you also using some git commands as well as github desktop? I am using bash git commands to do some smaller repo things from an ubuntu server and I'm not sure if that is what is interfering with my ability to use GitHub desktop on my windows machine, or if that is unrelated. Just a thought.

  4. NathnC commented on Mar 6, 2018

    @NathnC
    Author

    I do have git installed and git bash but never use it, only powershell, have you tried uninstalling it?

  5. added
    windows
    on Mar 6, 2018
  6. iAmWillShepherd commented on Mar 6, 2018

    @iAmWillShepherd
    Contributor

    Thanks for taking the time to open an issue! 🙇

    Sorry this is giving you problems. Can you verfiy ask-pass-trampoline is not in this directory: C:\Users\Nathan\AppData\Local\GitHubDesktop\app-1.1.0\resources\app\static\?

  7. patrickdundas commented on Mar 7, 2018

    @patrickdundas

    @NathnC No, I haven't tried uninstalling it.. I'll try that and get back to you

  8. rmiaas commented on Apr 23, 2018

    @rmiaas

    Same error. I downloaded the latest version of Github Desktop. I can't clone.
    Even after cloning by using Git CMD, i can't fetch origin from the Desktop app.
    image

  9. sanjitas commented on May 1, 2018

    @sanjitas

    even i am facing the same issue!

  10. CmdEngineer commented on Oct 13, 2018

    @CmdEngineer

    Had the same issue, reinstalling fixed it for me.

  11. aronquiray commented on Mar 6, 2019

    @aronquiray

    same here.

  12. steveward commented on Feb 25, 2021

    @steveward
    Contributor

    If anyone subscribed to this issue is still encountering this error with GitHub Desktop please download the latest beta, which has a fix for the issue. We'd appreciate you testing it out and letting us know if you run into any problems.

  13. AbWajid commented on Mar 20, 2021

    @AbWajid

    update Github Desktop will resolve this issue.

  14. ErtYwek commented on Mar 27, 2021

    @ErtYwek

    The same issue .. everything did work correctly. But I made some updates to the repo then opened the desktop to make the commit. And after clicking the Push button to push that commit I've got the same error.

  15. steveward commented on Mar 29, 2021

    @steveward
    Contributor

    @ErtYwek can you try downloading the beta version of GitHub Desktop? It should resolve this error -- let us know if it doesn't!

  16. littlekan233 commented on Feb 11, 2022

    @littlekan233

    My GitHub Desktop (Version: 2.9.2) has this error, too. (Only GitHub's repository tips error)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    windows

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions