Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.
This repository was archived by the owner on May 20, 2025. It is now read-only.

[5.1.0-beta] react-native link gets stuck #999

@fungilation

Description

@fungilation

Steps to Reproduce

  1. react-native unlink react-native-code-push
  2. react-native link react-native-code-push
  3. Doesn't return to cli, stuck on last line: "codepush.gradle" is already linked in the build definition

Expected Behavior

Exit cleanly on link

Actual Behavior

See 3 above

Reproducible Demo

Output copied from terminal, with [STRINGS] replaced:

$ react-native unlink react-native-code-push
Scanning 611 folders for symlinks in [PROJECT]/node_modules (7ms)
rnpm-install info Unlinking react-native-code-push android dependency 
rnpm-install info Android module react-native-code-push has been successfully unlinked 
rnpm-install info Unlinking react-native-code-push ios dependency 
rnpm-install info iOS module react-native-code-push has been successfully unlinked 
$ react-native link react-native-code-push
Scanning 611 folders for symlinks in [PROJECT]/node_modules (8ms)
? What is your CodePush deployment key for Android (hit <ENTER> to ignore) [KEY]
rnpm-install info Linking react-native-code-push android dependency 
rnpm-install info Android module react-native-code-push has been successfully linked 
rnpm-install info Linking react-native-code-push ios dependency 
rnpm-install info iOS module react-native-code-push has been successfully linked 
"CodePush.h" header already imported.
"jsCodeLocation" already pointing to "[CodePush bundleURL]".
Could not determine correct xcode proj path to retrieve related plist file, there are multiple xcodeproj under the solution.
? What is your CodePush deployment key for iOS (hit <ENTER> to ignore) "getJSBundleFile" is already overridden
"codepush.gradle" is already linked in the build definition

... then stuck here, not returning to cli. Have to force quit with CTRL-C

Environment

  • react-native-code-push version: 5.1.0-beta
  • react-native version: 0.48.3
  • iOS/Android/Windows version: iOS 10.3.3
  • Does this reproduce on a debug build or release build? Neither (cli)
  • Does this reproduce on a simulator, or only on a physical device? Neither

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions