# \#react

**URL:** https://discuss.circleci.com/tag/react/148.md

[Latest](https://discuss.circleci.com/latest.md) · [Categories](https://discuss.circleci.com/categories.md) · [Tags](https://discuss.circleci.com/tags.md)

---

## [Cypress Tests become flaky after switching from Okta to Auth0](https://discuss.circleci.com/t/cypress-tests-become-flaky-after-switching-from-okta-to-auth0/50463)

<div class="topic-metadata">

**Author:** [@lritter79](https://discuss.circleci.com/u/lritter79)\
**Replies:** 1\
**Last updated:** [February 14, 2024, 1:56am UTC](https://discuss.circleci.com/t/cypress-tests-become-flaky-after-switching-from-okta-to-auth0/50463 "2024-02-14T01:56:31Z")

</div>

I have a React app, and normally the tests work like clockwork. However, we’re switching authentication providers from Okta to Auth0. Currently, we have a separate branch from our main one where we’ve swapped out all the…

---

## [React App build failed: "The build failed because the process exited too early."](https://discuss.circleci.com/t/react-app-build-failed-the-build-failed-because-the-process-exited-too-early/45901)

<div class="topic-metadata">

**Author:** [@tantommy](https://discuss.circleci.com/u/tantommy)\
**Replies:** 1\
**Last updated:** [November 3, 2022, 1:08am UTC](https://discuss.circleci.com/t/react-app-build-failed-the-build-failed-because-the-process-exited-too-early/45901 "2022-11-03T01:08:47Z")

</div>

When building my react app, i’m seeing this error: #!/bin/bash -eo pipefail npm run build \> my-app@0.1.0 build \> react-app-rewired build Creating an optimized production build... The build failed because the process e…

---

## [Cypress can't find react server started](https://discuss.circleci.com/t/cypress-cant-find-react-server-started/43707)

<div class="topic-metadata">

**Author:** [@jrichards](https://discuss.circleci.com/u/jrichards)\
**Replies:** 0\
**Last updated:** [April 15, 2022, 6:18pm UTC](https://discuss.circleci.com/t/cypress-cant-find-react-server-started/43707 "2022-04-15T18:18:12Z")

</div>

I’m trying to get cypress testing running in our pipeline to test the server. Though cypress can’t seam to find the local server that I just started. Here’s my scripts / setup. I’ve also tried the cypress circlci-orb and…

---

## [React Test failure in CI but not in local](https://discuss.circleci.com/t/react-test-failure-in-ci-but-not-in-local/43204)

<div class="topic-metadata">

**Author:** [@SoWrongImRight](https://discuss.circleci.com/u/SoWrongImRight)\
**Replies:** 0\
**Last updated:** [March 10, 2022, 10:13pm UTC](https://discuss.circleci.com/t/react-test-failure-in-ci-but-not-in-local/43204 "2022-03-10T22:13:59Z")

</div>

When running from push to master, test fails with this message: \> react-scripts test PASS src/App.spec.js FAIL src/layout/Navbar/Navbar.test.jsx ● Test suite failed to run Cannot find module 'react-test-rend…

---

## [Error restoring cache after updating Xcode version to 12.0.1](https://discuss.circleci.com/t/error-restoring-cache-after-updating-xcode-version-to-12-0-1/40028)

<div class="topic-metadata">

**Author:** [@taylor.griffin](https://discuss.circleci.com/u/taylor.griffin)\
**Replies:** 1\
**Last updated:** [March 9, 2022, 1:32pm UTC](https://discuss.circleci.com/t/error-restoring-cache-after-updating-xcode-version-to-12-0-1/40028 "2022-03-09T13:32:46Z")

</div>

Hey everyone, I haven’t posted before so sorry if my format is off. I recently updated the Xcode version in my config.yml file to 12.0.1 to comply with apples updated policy. After updating from Xcode 11.4.0 to 12.0.1 m…

---

## [Mobile monorepo config](https://discuss.circleci.com/t/mobile-monorepo-config/42293)

<div class="topic-metadata">

**Author:** [@iliaskarim](https://discuss.circleci.com/u/iliaskarim)\
**Replies:** 2\
**Last updated:** [December 18, 2021, 9:45pm UTC](https://discuss.circleci.com/t/mobile-monorepo-config/42293 "2021-12-18T21:45:21Z")

</div>

Hi, We have a mobile monorepo using react-native with an ios and and android directory. The config we want to set up would run only ios tests if there were only changes in the ios directory, only android tests if there …

---

## [React components not being rendered when running feature specs on circleci](https://discuss.circleci.com/t/react-components-not-being-rendered-when-running-feature-specs-on-circleci/41715)

<div class="topic-metadata">

**Author:** [@lidimayra](https://discuss.circleci.com/u/lidimayra)\
**Replies:** 1\
**Last updated:** [October 30, 2021, 8:13pm UTC](https://discuss.circleci.com/t/react-components-not-being-rendered-when-running-feature-specs-on-circleci/41715 "2021-10-30T20:13:24Z")

</div>

Hello! I have a small Rails project and the front-end is built with ReactJS. I have some feature specs, and they work fine locally, but fail when running on circleci. My last attempt can be found here: And this is t…

---

## [Test fail randomly in CI but work fine locally](https://discuss.circleci.com/t/test-fail-randomly-in-ci-but-work-fine-locally/40263)

<div class="topic-metadata">

**Author:** [@Npervic](https://discuss.circleci.com/u/Npervic)\
**Replies:** 0\
**Last updated:** [June 2, 2021, 1:18pm UTC](https://discuss.circleci.com/t/test-fail-randomly-in-ci-but-work-fine-locally/40263 "2021-06-02T13:18:57Z")

</div>

Hey guys, I work for a company that uses circle ci for a couple of jobs we have running every time a Pull request is created for our repo. One of these jobs are tests for our react app. For quite some time tests have b…

---

## [Config.yml error](https://discuss.circleci.com/t/config-yml-error/37734)

<div class="topic-metadata">

**Author:** [@jameslevine](https://discuss.circleci.com/u/jameslevine)\
**Replies:** 1\
**Last updated:** [October 12, 2020, 4:46pm UTC](https://discuss.circleci.com/t/config-yml-error/37734 "2020-10-12T16:46:24Z")

</div>

I’m having a bit of an issue getting my config.yml to work. Here is my config.yml below: version: 2.1 executors: node-executor: docker: - image: circleci/node:10 jobs: deploy-dev: executor: node-…

---

## [React Native build failed - "Error: main.jsbundle does not exist" - But no code change was been made](https://discuss.circleci.com/t/react-native-build-failed-error-main-jsbundle-does-not-exist-but-no-code-change-was-been-made/33550)

<div class="topic-metadata">

**Author:** [@anders123123](https://discuss.circleci.com/u/anders123123)\
**Replies:** 0\
**Last updated:** [November 28, 2019, 3:08pm UTC](https://discuss.circleci.com/t/react-native-build-failed-error-main-jsbundle-does-not-exist-but-no-code-change-was-been-made/33550 "2019-11-28T15:08:07Z")

</div>

\*TL; DR \* Check if CircleCI have change the image you are building with, if they have, your nodejs version or other parts of the toolchain will probably have changed and this can severely mess up the React native build …

---

## [Cannot recognize ReactJS imports](https://discuss.circleci.com/t/cannot-recognize-reactjs-imports/32894)

<div class="topic-metadata">

**Author:** [@CristianoYL](https://discuss.circleci.com/u/CristianoYL)\
**Replies:** 1\
**Last updated:** [October 16, 2019, 5:48pm UTC](https://discuss.circleci.com/t/cannot-recognize-reactjs-imports/32894 "2019-10-16T17:48:42Z")

</div>

Issues can also be found here: https://github.com/circleci/circleci-docs/issues/3817 Description When integrated with CircleCI, the basic javascript import cannot be recognized. For example: import App from './app'; w…

---

## [Migration React Native v0.65 - Fastlane build fail for iOS "Archive failed" (Exit Status: 65) only on CircleCI](https://discuss.circleci.com/t/migration-react-native-v0-65-fastlane-build-fail-for-ios-archive-failed-exit-status-65-only-on-circleci/32585)

<div class="topic-metadata">

**Author:** [@vincentnavetat](https://discuss.circleci.com/u/vincentnavetat)\
**Replies:** 0\
**Last updated:** [September 23, 2019, 9:44am UTC](https://discuss.circleci.com/t/migration-react-native-v0-65-fastlane-build-fail-for-ios-archive-failed-exit-status-65-only-on-circleci/32585 "2019-09-23T09:44:55Z")

</div>

Working on migrating a mobile app from React Native 0.59.0 to 0.60.5 and adding support to AndroidX. The updated app works fine on both iOS and Android locally and the CircleCI build for Android is working fine. We use F…

---

## [React Jest tests failing on CircleCI but passing locally](https://discuss.circleci.com/t/react-jest-tests-failing-on-circleci-but-passing-locally/32522)

<div class="topic-metadata">

**Author:** [@sopranolinist](https://discuss.circleci.com/u/sopranolinist)\
**Replies:** 1\
**Last updated:** [September 22, 2019, 1:52pm UTC](https://discuss.circleci.com/t/react-jest-tests-failing-on-circleci-but-passing-locally/32522 "2019-09-22T13:52:46Z")

</div>

I have a bunch of jest tests in my React project that are all passing on my local env but are failing on CircleCI because somehow the hooks that update state aren’t executing fast enough on circle, but are executing fast…

---

## [Android SDK Platform 23 license not accepted](https://discuss.circleci.com/t/android-sdk-platform-23-license-not-accepted/30196)

<div class="topic-metadata">

**Author:** [@flexbox](https://discuss.circleci.com/u/flexbox)\
**Replies:** 4\
**Last updated:** [May 7, 2019, 3:57pm UTC](https://discuss.circleci.com/t/android-sdk-platform-23-license-not-accepted/30196 "2019-05-07T15:57:58Z")

</div>

Hello there! I recently bumped to React Native 0.59.5 Diclamer: I already tried this solution and it’s not working My issue is: I need to accept the android-23 Android SDK Platform 23. \* What went wrong: A problem o…

---

## [Can this configuration be done?](https://discuss.circleci.com/t/can-this-configuration-be-done/25336)

<div class="topic-metadata">

**Author:** [@jhonyourangel](https://discuss.circleci.com/u/jhonyourangel)\
**Replies:** 1\
**Last updated:** [September 23, 2018, 10:52am UTC](https://discuss.circleci.com/t/can-this-configuration-be-done/25336 "2018-09-23T10:52:53Z")

</div>

Hi, i would like to configure the yml for this workflow, but i’m not sure if it can be done: what i have: 1 reactjs project in local with github remote 1 nodejs project in local with github remote and hook to heroku …

---

## [macOS plan required for react-native?](https://discuss.circleci.com/t/macos-plan-required-for-react-native/25127)

<div class="topic-metadata">

**Author:** [@dawidvdh](https://discuss.circleci.com/u/dawidvdh)\
**Replies:** 2\
**Last updated:** [September 15, 2018, 5:24pm UTC](https://discuss.circleci.com/t/macos-plan-required-for-react-native/25127 "2018-09-15T17:24:47Z")

</div>

I am trying to use circleci to test linting and flow on a react-native project which would require just a nodejs environment which as I understand is part of the free tier, however when trying to build I recieve the foll…

---

## [Build goes green even though my testsuite fails (Create React App)](https://discuss.circleci.com/t/build-goes-green-even-though-my-testsuite-fails-create-react-app/16686)

<div class="topic-metadata">

**Author:** [@hrmoller](https://discuss.circleci.com/u/hrmoller)\
**Replies:** 7\
**Last updated:** [April 17, 2018, 2:29pm UTC](https://discuss.circleci.com/t/build-goes-green-even-though-my-testsuite-fails-create-react-app/16686 "2018-04-17T14:29:10Z")

</div>

I’m testing my React application made with Create React App. My test command (npm test) executes react-scripts test. No matter the result of my tests the step will succeed and never fail no matter if one or all of the t…

---

## [React + Elixir/Phoenix back-end](https://discuss.circleci.com/t/react-elixir-phoenix-back-end/20145)

<div class="topic-metadata">

**Author:** [@bbixler](https://discuss.circleci.com/u/bbixler)\
**Replies:** 2\
**Last updated:** [February 18, 2018, 3:37pm UTC](https://discuss.circleci.com/t/react-elixir-phoenix-back-end/20145 "2018-02-18T15:37:31Z")

</div>

We have a React front-end (used create-react-app) with a Phoenix (Elixir) Postgres backend. I’ve not had luck running the stock Elixir config because my Phoenix app is nested in a folder called under ~/src. I’ve listed…

---

## [React Native XcodeBuild fails on header import](https://discuss.circleci.com/t/react-native-xcodebuild-fails-on-header-import/14151)

<div class="topic-metadata">

**Author:** [@apolishch](https://discuss.circleci.com/u/apolishch)\
**Replies:** 1\
**Last updated:** [July 12, 2017, 9:03pm UTC](https://discuss.circleci.com/t/react-native-xcodebuild-fails-on-header-import/14151 "2017-07-12T21:03:18Z")

</div>

I am attempting to build a React Native application on an Os X CircleCI box. My circle.yml is as follows: machine: xcode: version: 8.3.3 environment: PATH: '$PATH:$HOME/node/node-v4.4.3-darwin-x64/bin' d…

---

## [Suppress warnings being treated as errors for some commands](https://discuss.circleci.com/t/suppress-warnings-being-treated-as-errors-for-some-commands/12546)

<div class="topic-metadata">

**Author:** [@kellyrmilligan](https://discuss.circleci.com/u/kellyrmilligan)\
**Replies:** 0\
**Last updated:** [May 10, 2017, 10:01pm UTC](https://discuss.circleci.com/t/suppress-warnings-being-treated-as-errors-for-some-commands/12546 "2017-05-10T22:01:31Z")

</div>

I have a create react app build step, in which webpack is generating a warning that I can't turn off due to the way CRA doesn't expose the webpack config. is there a way to turn off treating warnings as errors for certai…
