Expo project out of sync - react-navigation

I am working on an Expo project with React Navigation. The code is working properly in my local environment, but my co-worker is seeing an issue where the TabNavigator tabs do not work (almost as if they are frozen).
We are working on the same code base and each cloned the code into a new location and installed all packages fresh. I'm still not seeing the issue and he is. We can't seem to get our code in sync.
Any suggestions on what to do?

Related

React Native javascript changes not reflecting in ios simulator

I'm building a React Native application, and the javascript code updates are not reflecting in the ios Simulator. I have restarted the development server with react-native start and react-native start --reset-cache. I have used react-native-clean-project to clean the pods folder, node_modules, and various other caches. I tried reinstalling watchman. All these efforts have not worked.
The issue started about a week ago, until that time the javascript code was updating normally. And it currently will update when a file is changed with the hot reloads, but then when I rerun react-native run-ios it goes back to version of the javascript that was there previously.
Building the app directly from XCode doesn't work either. It still builds with the outdated javascript. Does anyone have any ideas on what may be causing this issue?

Xamarin.Forms.DefaultItems.props Not Found

So, I have been trying to fix this error I am getting over a month now, but with no success. I am currently working on a personal app project in collaboration with one other friend and surprisingly the project compiles perfectly fine on my friend's machine.
I am getting the below error:
"The imported project "C:\Users\divye\Documents\NHSF Xamarin App\packages\Xamarin.Forms.2.5.0.280555\build\netstandard1.0\Xamarin.Forms.DefaultItems.props" was not found. Confirm that the path in the declaration is correct, and that the file exists on disk".
I can't understand why my code will not compile. I have gone through lots and lots of Stack Overflow posts already and tried pretty much all the proposed solutions without any success. As a last resort I am having to post on here.
I have tried the following:
Deleted the project locally from my machine and re-cloned the git repository and then tried running the project
Cleaned the project out and tried rebuilding again
Have spoken with my friend who is also working on the project, and matched my local project set out to his
I have gone into the Xamarin.iOS and Xamarin.Android .csproject files and also manually added in the Import statement for 'Xamarin.Forms.DefaultItems.props'
I have manually checked the folder '$..\netstandard1.0\ folder path to make sure the 'Xamarin.Forms.DefaultItems.props' file physically exists in the folder and it does for both iOS and Android.
Updated all packages in Xamarin Studio for the project to make sure latest versions of the packages are being used
Downgraded the Xamarin.Forms package to see if it could be to do with a bug in the latest package but this does not seem to be the issue.
A suggested fix that worked for my friend was recreating the project to contain the ASP.NET backend for mobile packages. I have tried this as well.
I was initially getting the error on my Mac so I thought I would give it a go on my Windows machine. Same thing happens on there too.
I am stumped at the issue. It is failing to build at all. Neither iOS or Android work.
I am hoping someone from here can help.
Thanks,
Divyesh!
Remove the whitespaces in the pathname of the project!

Error while loading: a server with specified hostname could not be found

So I have been struggling with a weird issue with my expo setup for about the last month or so. I created my project through Expo and when I use exp start in the terminal or try to load the project through Expo XDE, it hangs after dependency graph loaded. I thought it was an NPM issue (and worked on my coding environment for weeks trying to fix it) but then I created a new project using create-react-native-app and noticed there seems to be an issue with the connection with the simulator. When I instantiate a new project with create-react-native-app (not expo) I get this error exp://localhost:19000 — Error while loading: a server with specified hostname could not be found. (code - 1003) Here is a photo of what it looks like:
Then I tried to put the address of the project from the terminal into the simulator:
And it actually works! The app loads!
This is making me think there is a problem with the simulator's connection. Perhaps it is pointed to the wrong port? Using this method, I can run apps that were made from create-react-native-app but not my original projected I created through expo because that still gets hung and won’t launch the simulator. Projects created through Expo don't have an iOS file which is how you launch a create-react-native-app project (yarn run ios).
Any ideas about how I could go about fixing this?
Try uninstalling both Xcode & Expo.
Seems like the ports for the simulator are on different references of some kind.
Make sure that all of x-code, simulators, and expo local version are up to date before you launch the simulator after reinstalling Xcode & Expo.

React Native assembleRelease app::bundleReleaseJsAndAssets never progress

I'm trying to generate release version of my app using React-native :
./gradlew assembleRelease
It's progress until app::bundleReleaseJsAndAssets gets stuck at 93% and never progress. I dont have any error on terminal.
About OS I'm on Mac OS.
issue reported https://github.com/facebook/react-native/issues/10078
If you are using realm, please consider that comment:
:app:bundleReleaseJsAndAssets was trying to bundle the default.realm* in the root folder generated from the tests in jest... So it was hanging there.
It couldn't decompile them or whatever. So i just deleted them and it worked again
I used to have realm in my project but removed it. I still had files not tracked by git, hanging around. I simply removed everything related to realm and it worked again
If you are building the react native app in android studio and you are stuck at
app::bundleReleaseJsAndAssets never progress
It could be the issue with "CMD" in the android studio. Please Make sure you install the plugin.
I'm able to resolve the issue.

Newest Web2Py & Pycharm Debugger not compatible?

I just created a new Web2Py project from the Github source
(git clone --recursive https://github.com/web2py/web2py.git).
While I was working on the project I noticed that my debugger is not working on my own controllers.
It works whenever I put a breakpoint in the db.py but as soon as one is in my own controllers it stops working. The page just gets loaded instantly and PyCharm behaves like normal.
I have ran & debugged multiple web2py projects before this and have updated to the latest version.
Anyone who has encountered similar problems or any clue on a fix?
Edit: I migrated the the project to an old web2py version, now the debugger works. Anyone with an answer as too why would be a genius.
Project Configuration:
Console output while running page:

Resources