React-native: Project encountered errors after the Catalina update

After upgrading my Mac OS from High Sierra to Catalina, I encountered an issue when trying to run my project.

I followed the steps of running the command react-native init, pod install in the ios directory, and then attempted to run the iOS code using Xcode (10.0).

"react": "16.9.0"
"react-native": "0.61.3"

However, I ran into an error while trying to run the iOS code using Xcode:

Error: Failed to read '../node_modules/react-native/ReactCommon/jsinspector/InspectorInterfaces.cpp'

Answer №1

After upgrading to Catalina, I encountered the same problem. I resolved it by first uninstalling Xcode and restarting my MacBook. Then I reinstalled Xcode from the App Store, which fixed the issue.

Similar questions

If you have not found the answer to your question or you are interested in this topic, then look at other similar questions below or use the search

Displaying sorted objects from Angular serviceIn Angular 8, let's retrieve an object

In my Angular8 application, I am running a query that fetches a data object. My goal is to sort this data object based on the order value and then display each product item on the browser. For example, here is an example of how the output should look like ...

Use JQuery to pinpoint the initial child element within each occurrence of a specific class

I currently have a situation where there are 2 buttons enclosed within a div element. <div class="pull-left address-selector"> <a class="btn btn-primary btn-sm"><i class="fa fa-envelope"></i></a> <a class="btn btn-prim ...

Retrieve the name of the selected checkbox

Currently, I am working on a page where check boxes are generated dynamically. Every time a user clicks on any of the check boxes, the following event is triggered: $(':checkbox').click(function() { }); I would like to know how I can retrieve ...

Spherical outline in the void (threejs) (3D)

Is there a way to remove the line in this image and only keep the contour? Click here to view the figure. const intersection = (a, b, c, heightC) => { return (u, v) => { const height = heightC || c; const size = 5; u = u ...

Is it considered acceptable in React for the value of one state to be determined by another state?

Consider this scenario: state1 tracks the mouseover of clientX and clientY, while state2 retrieves the value from state1 upon clicking. Is this implementation acceptable? const [move,setMove]=useState([]) const [click,setClick]=useState([]) useEffect(() ...

What could be causing "pointermove" events to have undefined movementX/Y on iOS?

After subscribing to "pointermove" events, I noticed that I am receiving events with undefined values for the movementX and movementY properties. I have tested this on both Chrome and Safari, but have not found any documentation regarding this issue in OS ...

Retrieving a Server.R value in a .js script

I'm facing a problem where I need to access the value of a variable in my Server.R file (I'm using Shiny) in my javascript file. Specifically, I want the variable "i" in myFile.js to be assigned the value of my R variable "number". Can someone gu ...

Tips for using variable arguments in Meteor's find method

Why is the find query not returning any data when using the "qnum" variable argument as a value? Could it be due to the scope limitation of variables inside an object? Quiz.js file Questions = new Mongo.Collection("questions"); if (Meteor.isClient) { ...

I am currently facing an issue with the error message "ReferenceError: items is not defined" and I am struggling to find a solution on how to properly test my data

Seeking assistance on adding jasmine taste to my factory code. Here is the snippet... ---dataService.js--- angular.module('angularAppApp') .factory('dataService', function($resource){ return $resource(`http://...:3100/posts/: ...

Are there any missing (or "optional") expressions in handlebars.js?

Currently, I am developing a build script using Node.js. To summarize, the script carries out the following tasks: Prompting the user for essential information such as the project name and description Cloning a template from a Git repository Renaming fil ...

Incorporating Subtitles into Videos using NodeJS and the FFMpeg Fluent API

I'm having trouble adding subtitles (srt) to a video stream using Node JS and FFMpeg... Here's what I've tried: var command = ffmpeg(file.createReadStream()) .input("C:\\code.srt").videoCodec('copy') .videoCodec(& ...

Is it possible to modify an HTML document on the server side using Node.js?

I am currently working on a website project. As part of this project, there is a Python script that is activated by the user through the UI and runs on the server to generate HTML files. These HTML files are then read by the node server and sent in full to ...

Tips for implementing if-else conditions across multiple controllers without the need for repetitive rewriting

My application is slowing down because I am using the same if-else condition in multiple controllers to render data. Is there a way to write this code once and reuse it across multiple controllers? ) How can I use the same if condition code in multiple ...

Is There a Proper Method for Including and Excluding Transaction Queue Observer?

Regarding the topic of In-App Purchases, I came across this Technical Note: https://developer.apple.com/library/ios/technotes/tn2387/_index.html According to the note, it is advised to add the transaction observer in the didFinishLaunchingWithOptions meth ...

Navigate to a different page in Vue3 after completing the file download process

After receiving a link from the server to download the file, the user initiates the function to begin downloading. Once the file has finished downloading, the user will be redirected to the main page. <script setup lang="ts"> const goToMai ...

The focus on the input text in AngularJS functions properly on desktop devices but not on iPads

I am facing an issue with the search input box in my application. Even though the search input opens when I click a button, it is not autofocusing. Here is the snippet of my code: $scope.goSearch = function () { $scope.$broadcast("focusTextInput"); } ...

Ways to determine if an array with a mix of data types includes string values

Challenge I'm Currently Tackling: To solve this challenge, create a function named "findShortestWordAmongMixedElements". The task is to find and return the shortest string from an array that contains mixed element types. Important Notes: * In c ...

ReactJS implementation of hierarchical dropdown menus

I'm currently working on creating a multi-level nested drop-down menu. I've been using the "react-dropdown" library, and I've managed to display a new dropdown just below the main one. However, I'm facing difficulties in implementing th ...

Manipulate and scale with jQuery

I am currently utilizing the jQueryUI library with its Draggable and Resizable functionalities to resize and drag a div element. However, I am encountering some unexpected behavior where the div jumps outside of its container upon resizing. How can I resol ...

How to manage form submissions in Vue.js using inputs within child components

I'm working on a parent component that acts as a form. This form consists of multiple child components, each containing input fields. <template> <div class="form"> <generalData v-model="input" /> <textAreas v- ...