I installed the react-native windows application, following the steps mentioned here. After that I ran the application and it started up perfectly fine. Then I tried adding the react navigation package following the given steps. But when I try to build the application again I am getting the following error:
I have spent a lot of time trying to figure it out and I have gone through various steps that I could find online to rectify this issue, but they have not been useful. I have also double checked that all the dependencies are installed.
Any help will be greatly appreciated.
Related
I’m working on a react-native app using react-native-navigation from wix, and I’m following the installation instructions as shown here: https://wix.github.io/react-native-navigation/docs/installing/
But after installing pods and running the app the following error occurs:
“main” has not been registered.
And that’s because, as shown in the tutorial, the registerRootComponent row must be removed.
How can i solve this error?
Thank you
I am developing mobile app using React-native-cli.
But I have got one difficult problem to solve.
I don't know why this issue is appeared.
I want RN experts to help me to solve this problem.
This issue is following.
I tried to run my app using following command.
react-native run-android -- --reset-cache
When my internet speed is very fast, my app is running well, but when internet speed is some slowly, it is not running.
My project is based on RN 0.59.
issue:
error: bundling failed: Error: Unable to resolve module scheduler/tracing from \working\temp\node_modules\react-native\Libraries\Renderer\oss\ReactNativeRenderer-dev.js: Module scheduler/tracing does not exist in the Haste module map
please help me!!! :)enter image description here
I'm trying to run an app which I take from git. I ran npm install and react-native run-android then it occurred an error:
I have found solution on Internet for 2 days but there is no result. Can anyone fix this error please?
There's an actual workaround for this, and it worked for me. Try to activate Debug Js Remotely on your developer options, Reload and your app will work. As I said it's a work around, but you can continue working on your app
I'm learning React Native and trying to add a component to an Expo Snack for testing. I can't even get the example app to work though.
Is it something different about how Snacks work vs. a desktop development environment? I've encountered that type of difference using JSFiddle, for example.
I straight copy-pasted the code from the Github repo into snack.expo.io and it gave me an error:
Device: (946:881) Unable to resolve module 'module://expo-font.js'
Evaluating module://expo-font.js
Evaluating module://react-native-numeric-input.js
Evaluating module://App.js
Loading module://App.js
I've gotten this error before, but I've never been able to figure out why. Is it an issue with the package, which was updated just 7 days ago, or something else? Please advise.
It may be due to missing of node modules in your project compared to the Github project. As the Stack.expo browser won't give us full freedom to install custom modules, I suggest you to download VS Code and open the Github project in it, then do "npm install" from cmd and "react-native run-android/ios".
Despite the app running perfectly in test builds, when I publish the app or put in in production mode the app builds once that takes a while, then several times within short succession as seen below:
After it stops I then receive the errors:
"Module AppRegistry is not a registered callable module (calling
runApplication)"
and
"undefined is not a function (evaluating
'babelHelpers.objectDestructuringEmpty(d.actions)')"
I have looked up this issue and found that those 2 error messages tend to be vague "catch-all" errors, however none of the posts I found had the rapid build issue I have, so that may a key part to solving this. I have tried restarting the app several times, npm install-ing, updating react and expo to their latest versions, and other small non-code related fixes however none have worked.
Here is a link to my repo: https://github.com/tc1240/AT-Assist. If anyone has had this or can take a look at my code any help is appreciated. Thank you,
Also this is my first question asked on stack so I apologize in advance if my question does not follow some of the guidelines.
I've been experiencing this lately, since I tried publishing for Android and iOS.
I'm currently unable to build additional projects in Expo other than the one I'm working on, so I can't test your project, but:
Can you add the android.package key in your app.json file and try running again? Restoring this back into my project seemed to fix the issue for me.