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

Git error 128 adding react-navigation/bottom-tabs #11831

Closed
2 of 11 tasks
Adrian4401 opened this issue Feb 17, 2024 · 3 comments
Closed
2 of 11 tasks

Git error 128 adding react-navigation/bottom-tabs #11831

Adrian4401 opened this issue Feb 17, 2024 · 3 comments

Comments

@Adrian4401
Copy link

Current behavior

Hey, I'm a newbie in react-native.
Im making my second app and I can't add react-navigation/bottom-tabs working on MacOs. When I was making my first app on Windows I didn't have this problem.

After using 'yarn add react-navigation/bottom-tabs' I see this in terminal:

error Command failed.
Exit code: 128
Command: git
Arguments: ls-remote --tags --heads ssh://git@github.com/react-navigation/bottom-tabs.git
Directory: /Users/adrianzakrzewski/Documents/Uczelnia/INŻYNIERKA/StudyNote
Output:
ERROR: Repository not found.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.

I don't know what to do now, yesterday I have made a SSH key and added to my Git account and it didn't work.

This is my package.json file:

{
"name": "studynote",
"version": "1.0.0",
"main": "node_modules/expo/AppEntry.js",
"scripts": {
"start": "expo start",
"android": "expo start --android",
"ios": "expo start --ios",
"web": "expo start --web"
},
"dependencies": {
"@react-navigation/native": "react-navigation/native",
"expo": "~50.0.6",
"expo-status-bar": "~1.11.1",
"npm": "^10.4.0",
"react": "18.2.0",
"react-native": "0.73.4",
"react-native-safe-area-context": "^4.9.0",
"yarn": "^1.22.21"

},
"devDependencies": {
"@babel/core": "^7.20.0"
},
"private": true
}

Sorry for my English. Please help.

Expected behavior

I expect to install react-navigation/bottom-tabs.

Reproduction

https://github.com/Adrian4401/StudyNote.git

Platform

  • Android
  • iOS
  • Web
  • Windows
  • MacOS

Packages

  • @react-navigation/bottom-tabs
  • @react-navigation/drawer
  • @react-navigation/material-top-tabs
  • @react-navigation/stack
  • @react-navigation/native-stack
  • react-native-tab-view

Environment

  • [] I've removed the packages that I don't use
package version
@react-navigation/native
@react-navigation/bottom-tabs
react-native-safe-area-context
react-native
expo
node
npm or yarn
Copy link

Couldn't find version numbers for the following packages in the issue:

  • @react-navigation/native
  • @react-navigation/bottom-tabs

Can you update the issue to include version numbers for those packages? The version numbers must match the format 1.2.3.

@Adrian4401
Copy link
Author

Sorry for opening issue, one person just helped me on StackOverflow, there is how to solve the problem:

https://stackoverflow.com/questions/78011647/git-error-128-adding-react-navigation-bottom-tabs

Thank you for trying to help <3

Copy link

Hey! This issue is closed and isn't watched by the core team. You are welcome to discuss the issue with others in this thread, but if you think this issue is still valid and needs to be tracked, please open a new issue with a repro.

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

No branches or pull requests

1 participant