microsoft / react-native-code-push

React Native module for CodePush
http://appcenter.ms
Other
8.98k stars 1.47k forks source link

Bad Documentation Installation Error Not Working yarn add appcenter appcenter-analytics appcenter-crashes --exact #2396

Closed putuoka closed 1 year ago

putuoka commented 1 year ago

Thanks so much for filing an issue or feature request! Please fill out the following (wherever relevant):

Steps to Reproduce

  1. npx react-native init codepushTest --template react-native-template-typescript
  2. yarn add appcenter appcenter-analytics appcenter-crashes --exact --> from this documentation https://learn.microsoft.com/en-us/appcenter/sdk/getting-started/react-native
  3. yarn android --> and error can't run anything

Expected Behavior

What you expected to happen?

Actual Behavior

What actually happens?

  STACK TRACE AND/OR SCREENSHOTS

1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':app:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
==============================================================================

2: Task failed with an exception.
-----------
* What went wrong:
java.lang.StackOverflowError (no error message)

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

Reproducible Demo

Environment

(The more info the faster we will be able to address it!)

vozaldi commented 1 year ago

React Native CodePush doesn't require these command (you mentioned in no. 2)

yarn add appcenter appcenter-analytics appcenter-crashes --exact

You can follow this documentation instead

  1. Install the App Center CLI https://learn.microsoft.com/en-us/appcenter/distribution/codepush/
  2. CodePush-ify your app https://learn.microsoft.com/en-us/appcenter/distribution/codepush/rn-get-started
microsoft-github-policy-service[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs within 15 days of this comment.

microsoft-github-policy-service[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs within 15 days of this comment.

microsoft-github-policy-service[bot] commented 1 year ago

This issue will now be closed because it hasn't had any activity for 15 days after stale. Please feel free to open a new issue if you still have a question/issue or suggestion.

microsoft-github-policy-service[bot] commented 1 year ago

This issue will now be closed because it hasn't had any activity for 15 days after stale. Please feel free to open a new issue if you still have a question/issue or suggestion.