Skip to content
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

Expo.dev can't connect to git to finish onboarding #2685

Closed
CIreland-app opened this issue Nov 12, 2024 · 1 comment
Closed

Expo.dev can't connect to git to finish onboarding #2685

CIreland-app opened this issue Nov 12, 2024 · 1 comment
Labels
needs review Issue is ready to be reviewed by a maintainer

Comments

@CIreland-app
Copy link

Summary

npx eas-cli@latest init:onboarding
Produces:
[git] Cloning into '/Users/chrisireland/CrossfitAppBackend/CF-app/c-ireland'...
Username for 'https://github.com': CIreland-app
Password for 'https://[email protected]':
[git] remote: Support for password authentication was removed on August 13, 2021.
[git] remote: Please see https://docs.github.com/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
[git] fatal: Authentication failed for 'https://github.com/CIreland-app/c-ireland.git/'
❌ git clone https://github.com/CIreland-app/c-ireland.git /Users/chrisireland/CrossfitAppBackend/CF-app/c-ireland failed
git clone https://github.com/CIreland-app/c-ireland.git /Users/chrisireland/CrossfitAppBackend/CF-app/c-ireland exited with non-zero code: 128
Error: project:onboarding command failed.

Producing a Personal Access Token and either changing Keychain Access or "git remote set-url origin https://@github.com//" didn't help

What platform(s) does this occur on?

No response

SDK Version

No response

Environment

expo-env-info 1.2.0 environment info:
    System:
      OS: macOS 14.3
      Shell: 3.2.57 - /bin/bash
    Binaries:
      Node: 22.11.0 - /usr/local/bin/node
      npm: 10.9.0 - /usr/local/bin/npm
    IDEs:
      Xcode: /undefined - /usr/bin/xcodebuild
    npmPackages:
      expo: ~51.0.28 => 51.0.38 
      expo-router: ~3.5.23 => 3.5.23 
      react: 18.2.0 => 18.2.0 
      react-dom: 18.2.0 => 18.2.0 
      react-native: 0.74.5 => 0.74.5 
      react-native-web: ~0.19.10 => 0.19.13 
    Expo Workflow: managed

Minimal reproducible example

npx eas-cli@latest init:onboarding

@Simek Simek transferred this issue from expo/expo Nov 12, 2024
@Simek Simek added the needs review Issue is ready to be reviewed by a maintainer label Nov 12, 2024
@szdziedzic
Copy link
Member

Hey,

I believe the easiest way to authenticate with GitHub is by using SSH: https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent.

You can try to set it up, and then remove the project directory cloned for you by the init:onboarding command and rerun the command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs review Issue is ready to be reviewed by a maintainer
Projects
None yet
Development

No branches or pull requests

3 participants