Javascript react本机git升级错误:致命:未指定远程存储库

Javascript react本机git升级错误:致命:未指定远程存储库,javascript,git,react-native,npm,yarnpkg,Javascript,Git,React Native,Npm,Yarnpkg,我在尝试使用react native git upgrade进行升级时遇到问题。 第一个问题与第二个问题相同 不幸的是,该线程上的任何解决方案对我都没有帮助 所以,我试图清除纱线缓存。 我运行纱线缓存清理 当我再次尝试运行react native git upgrade时, 出现以下错误: E:\ReactProject\Aurai>react本机git升级 git-upgrade info Check for updates git-upgrade info Using yarn 0.24.5

我在尝试使用react native git upgrade进行升级时遇到问题。 第一个问题与第二个问题相同

不幸的是,该线程上的任何解决方案对我都没有帮助

所以,我试图清除纱线缓存。 我运行
纱线缓存清理

当我再次尝试运行r
eact native git upgrade
时, 出现以下错误:

E:\ReactProject\Aurai>react本机git升级

git-upgrade info Check for updates
git-upgrade info Using yarn 0.24.5
git-upgrade info Read package.json files
git-upgrade info Check declared version
git-upgrade info Check matching versions
git-upgrade info Check React peer dependency
git-upgrade info Check that Git is installed
git-upgrade info Get information from NPM registry
git-upgrade info Upgrading to React Native 0.48.4, React 16.0.0-alpha.12
git-upgrade info Setup temporary working directory
git-upgrade info Configure Git environment
git-upgrade info Init Git repository
git-upgrade info Add all files to commit
warning: LF will be replaced by CRLF in .babelrc.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in .buckconfig.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in .flowconfig.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in .gitattributes.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in .gitignore.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in __tests__/index.android.js.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in __tests__/index.ios.js.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in android/app/proguard-rules.pro.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in android/app/src/main/assets/index.android.bundle.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in android/app/src/main/java/com/auraiid/id/MainActivity.java.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in android/app/src/main/java/com/auraiid/id/MainApplication.java.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in android/gradle/wrapper/gradle-wrapper.properties.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in android/gradlew.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in android/keystores/BUCK.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in android/keystores/debug.keystore.properties.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in app.json.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in index.android.js.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in index.ios.js.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in ios/AuraiId-tvOS/Info.plist.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in ios/AuraiId-tvOSTests/Info.plist.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in ios/AuraiId.xcodeproj/xcshareddata/xcschemes/AuraiId-tvOS.xcscheme.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in ios/AuraiId.xcodeproj/xcshareddata/xcschemes/AuraiId.xcscheme.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in ios/AuraiId/AppDelegate.h.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in ios/AuraiId/Base.lproj/LaunchScreen.xib.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in ios/AuraiId/Images.xcassets/AppIcon.appiconset/Contents.json.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in ios/AuraiId/main.m.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in ios/AuraiIdTests/AuraiIdTests.m.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in ios/AuraiIdTests/Info.plist.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in native-base-theme/components/Badge.js.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in native-base-theme/components/Button.js.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in native-base-theme/components/Card.js.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in native-base-theme/components/CardItem.js.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in native-base-theme/components/CheckBox.js.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in native-base-theme/components/Container.js.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in native-base-theme/components/Content.js.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in native-base-theme/components/Fab.js.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in native-base-theme/components/Footer.js.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in native-base-theme/components/FooterTab.js.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in native-base-theme/components/Form.js.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in native-base-theme/components/H1.js.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in native-base-theme/components/H2.js.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in native-base-theme/components/H3.js.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in native-base-theme/components/Header.js.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in native-base-theme/components/Icon.js.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in native-base-theme/components/Input.js.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in native-base-theme/components/InputGroup.js.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in native-base-theme/components/Item.js.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in native-base-theme/components/Label.js.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in native-base-theme/components/ListItem.js.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in native-base-theme/components/Picker.android.js.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in native-base-theme/components/Picker.ios.js.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in native-base-theme/components/Radio.js.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in native-base-theme/components/Segment.js.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in native-base-theme/components/Separator.js.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in native-base-theme/components/Spinner.js.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in native-base-theme/components/Tab.js.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in native-base-theme/components/TabBar.js.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in native-base-theme/components/TabContainer.js.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in native-base-theme/components/TabHeading.js.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in native-base-theme/components/Text.js.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in native-base-theme/components/Textarea.js.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in native-base-theme/components/Title.js.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in native-base-theme/components/Toast.js.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in native-base-theme/components/View.js.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in native-base-theme/components/index.js.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in native-base-theme/variables/commonColor.js.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in native-base-theme/variables/material.js.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in native-base-theme/variables/platform.js.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in package.json.
The file will have its original line endings in your working directory.
git-upgrade info Commit current project sources
git-upgrade info Create a tag before updating sources
git-upgrade info Generate old version template
git-upgrade info Add updated files to commit
warning: LF will be replaced by CRLF in .babelrc.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in .buckconfig.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in .flowconfig.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in .gitattributes.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in .gitignore.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in android/app/BUCK.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in android/app/build.gradle.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in android/app/proguard-rules.pro.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in android/app/src/main/AndroidManifest.xml.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in android/app/src/main/res/values/strings.xml.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in android/app/src/main/res/values/styles.xml.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in android/build.gradle.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in android/gradle.properties.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in android/gradle/wrapper/gradle-wrapper.properties.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in android/gradlew.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in android/keystores/BUCK.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in android/keystores/debug.keystore.properties.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in android/settings.gradle.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in app.json.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in ios/AuraiId-tvOS/Info.plist.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in ios/AuraiId-tvOSTests/Info.plist.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in ios/AuraiId.xcodeproj/xcshareddata/xcschemes/AuraiId-tvOS.xcscheme.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in ios/AuraiId.xcodeproj/xcshareddata/xcschemes/AuraiId.xcscheme.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in ios/AuraiId/AppDelegate.h.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in ios/AuraiId/AppDelegate.m.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in ios/AuraiId/Base.lproj/LaunchScreen.xib.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in ios/AuraiId/Images.xcassets/AppIcon.appiconset/Contents.json.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in ios/AuraiId/Info.plist.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in ios/AuraiId/main.m.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in ios/AuraiIdTests/AuraiIdTests.m.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in ios/AuraiIdTests/Info.plist.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in android/app/src/main/java/com/auraiid/MainActivity.java.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in android/app/src/main/java/com/auraiid/MainApplication.java.
The file will have its original line endings in your working directory.
git-upgrade info Commit old version template
git-upgrade info Install the new version
error Command failed.
Exit code: 1
Command: git
Arguments: pull
Directory: C:\Users\Ando\AppData\Local\Yarn\cache\v1\.tmp\a3450fedabcb67009ae55c8f322f57b0
Output:
fatal: No remote repository specified.  Please, specify either a URL or a
remote name from which new revisions should be fetched.
git-upgrade ERR! An error occurred during upgrade:
git-upgrade ERR! Error: Command 'yarn add react-native@0.48.4 react@16.0.0-alpha.12' exited with code 1:
stderr: undefinederror Command failed.
Exit code: 1
Command: git
Arguments: pull
Directory: C:\Users\Ando\AppData\Local\Yarn\cache\v1\.tmp\a3450fedabcb67009ae55c8f322f57b0
Output:
fatal: No remote repository specified.  Please, specify either a URL or a
remote name from which new revisions should be fetched.

stdout: yarn add v0.24.5
[1/4] Resolving packages...
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.

    at ChildProcess.child.on.code (C:/Users/Ando/AppData/Roaming/npm/node_modules/react-native-git-upgrade/cliEntry.js:58:18)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:191:7)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
git-upgrade ERR! Restore initial sources
Note: checking out 'project-snapshot'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at adaaa8d... Project snapshot
git升级信息检查更新
git升级信息使用纱线0.24.5
git升级信息读取package.json文件
git升级信息检查声明的版本
git升级信息检查匹配版本
git升级信息检查响应对等依赖关系
git升级信息检查git是否已安装
git升级信息从NPM注册表获取信息
git升级信息升级到React本机0.48.4,React 16.0.0-alpha.12
git升级信息设置临时工作目录
git升级信息配置git环境
git升级信息初始化git存储库
git升级信息添加所有要提交的文件
警告:LF将被LRC中的CRLF替换。
该文件将在您的工作目录中具有其原始行结尾。
警告:LF将被.buckconfig中的CRLF替换。
该文件将在您的工作目录中具有其原始行结尾。
警告:在.flowconfig中,LF将被CRLF替换。
该文件将在您的工作目录中具有其原始行结尾。
警告:LF将被.gittributes中的CRLF替换。
该文件将在您的工作目录中具有其原始行结尾。
警告:LF将被.gitignore中的CRLF替换。
该文件将在您的工作目录中具有其原始行结尾。
警告:LF将在_tests\u_/index.android.js中替换为CRLF。
该文件将在您的工作目录中具有其原始行结尾。
警告:LF将在_tests\u_/index.ios.js中替换为CRLF。
该文件将在您的工作目录中具有其原始行结尾。
警告:在android/app/proguard-rules.pro中,LF将被CRLF替换。
该文件将在您的工作目录中具有其原始行结尾。
警告:在android/app/src/main/assets/index.android.bundle中,LF将被CRLF替换。
该文件将在您的工作目录中具有其原始行结尾。
警告:在android/app/src/main/java/com/auraiid/id/MainActivity.java中,LF将被CRLF替换。
该文件将在您的工作目录中具有其原始行结尾。
警告:在android/app/src/main/java/com/auraiid/id/MainApplication.java中,LF将被CRLF替换。
该文件将在您的工作目录中具有其原始行结尾。
警告:在android/gradle/wrapper/gradle-wrapper.properties中,LF将被CRLF替换。
该文件将在您的工作目录中具有其原始行结尾。
警告:在android/gradlew中,LF将被CRLF替换。
该文件将在您的工作目录中具有其原始行结尾。
警告:在android/keystores/BUCK中,LF将被CRLF替换。
该文件将在您的工作目录中具有其原始行结尾。
警告:在android/keystores/debug.keystore.properties中,LF将被CRLF替换。
该文件将在您的工作目录中具有其原始行结尾。
警告:在app.json中,LF将替换为CRLF。
该文件将在您的工作目录中具有其原始行结尾。
警告:index.android.js中的LF将替换为CRLF。
该文件将在您的工作目录中具有其原始行结尾。
警告:在index.ios.js中,LF将替换为CRLF。
该文件将在您的工作目录中具有其原始行结尾。
警告:在ios/AuraiId tvOS/Info.plist中,LF将被CRLF替换。
该文件将在您的工作目录中具有其原始行结尾。
警告:在ios/AuraiId tvOSTests/Info.plist中,LF将被CRLF替换。
该文件将在您的工作目录中具有其原始行结尾。
警告:在ios/AuraiId.xcodeproj/xcshareddata/xcschemes/AuraiId-tvOS.xcschemes中,LF将被CRLF替换。
该文件将在您的工作目录中具有其原始行结尾。
警告:在ios/AuraiId.xcodeproj/xcshareddata/xcschemes/AuraiId.xcschemes中,LF将被CRLF替换。
该文件将在您的工作目录中具有其原始行结尾。
警告:在ios/AuraiId/AppDelegate.h中,LF将被CRLF替换。
该文件将在您的工作目录中具有其原始行结尾。
警告:在ios/AuraiId/Base.lproj/LaunchScreen.xib中,LF将被CRLF替换。
该文件将在您的工作目录中具有其原始行结尾。
警告:在ios/AuraiId/Images.xcsets/AppIcon.appiconset/Contents.json中,LF将被CRLF替换。
该文件将在您的工作目录中具有其原始行结尾。
警告:在ios/AuraiId/main.m中,LF将被CRLF替换。
该文件将在您的工作目录中具有其原始行结尾。
警告:在ios/AuraiIdTests/AuraiIdTests.m中,LF将被CRLF替换。
该文件将在您的工作目录中具有其原始行结尾。
警告:在ios/AuraiIdTests/Info.plist中,LF将被CRLF替换。
该文件将在您的工作目录中具有其原始行结尾。
警告:在本机基本主题/components/Badge.js中,LF将替换为CRLF。
该文件将在您的工作目录中具有其原始行结尾。
警告:在本机基本主题/components/Button.js中,LF将替换为CRLF。
该文件将在您的工作目录中具有其原始行结尾。
警告:在本机基本主题/components/Card.js中,LF将替换为CRLF。
该文件将在您的工作目录中具有其原始行结尾。
警告:在本机基本主题/components/CardItem.js中,LF将替换为CRLF。
该文件将在您的工作目录中具有其原始行结尾。
警告:在本机基本主题/components/CheckBox.js中,LF将替换为CRLF。
该文件将在您的工作目录中具有其原始行结尾。
警告:在本机基本主题/components/Container.js中,LF将替换为CRLF。
该文件将在您的工作中具有其原始行结尾