-
Notifications
You must be signed in to change notification settings - Fork 24.8k
Closed
Labels
Platform: iOSiOS applications.iOS applications.Ran CommandsOne of our bots successfully processed a command.One of our bots successfully processed a command.Resolution: LockedThis issue was locked by the bot.This issue was locked by the bot.
Description
I recently upgraded RN from v0.19 to v0.22.
When I run the simulator, this error popped up.
Error log that shows in the xcode:
2016-03-23 13:54:20.818 [error][tid:com.facebook.React.JavaScript] `ProxyComponent` has no propType for native prop `RCTMap.followUserLocation` of native type `BOOL`
If you haven't changed this prop yourself, this usually means that your versions of the native code and JavaScript code are out of sync. Updating both should make this error go away.
2016-03-23 13:54:20.819 [fatal][tid:com.facebook.React.RCTExceptionsManagerQueue] Unhandled JS Exception: `ProxyComponent` has no propType for native prop `RCTMap.followUserLocation` of native type `BOOL`
If you haven't changed this prop yourself, this usually means that your versions of the native code and JavaScript code are out of sync. Updating both should make this error go away.
2016-03-23 13:54:20.845 [info][tid:com.facebook.React.JavaScript] Running application "________" with appParams: {"rootTag":1,"initialProps":{}}. __DEV__ === true, development-level warning are ON, performance optimizations are OFF
2016-03-23 13:54:20.847 [error][tid:com.facebook.React.JavaScript] Application ________ has not been registered. This is either due to a require() error during initialization or failure to call AppRegistry.registerComponent.
2016-03-23 13:54:20.848 [fatal][tid:com.facebook.React.RCTExceptionsManagerQueue] Unhandled JS Exception: Application IOS_99GAMERS has not been registered. This is either due to a require() error during initialization or failure to call AppRegistry.registerComponent.
I've removed the node_modules and reinstall v0.22.
Same error occurred.
I've been looking for a fix to this issue (thought I'm not the only one). But I couldn't find reported bug that's related to this issue.
I'm currently running on:
React Native v0.22,
xcode ios simulator,
Mac
If you need more detail, i'll reply within minutes. Thanks
myconode
Metadata
Metadata
Assignees
Labels
Platform: iOSiOS applications.iOS applications.Ran CommandsOne of our bots successfully processed a command.One of our bots successfully processed a command.Resolution: LockedThis issue was locked by the bot.This issue was locked by the bot.
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
charpeni commentedon Mar 23, 2016
I can take a look at this tomorrow.
charpeni commentedon Mar 23, 2016
@facebook-github-bot label ios
JakeRawr commentedon Mar 24, 2016
Thank you,
Update: (5:00 pm, 3/23/16)
I changed the code
from
to
seems to make the problem go away. I do not have an explanation tho.
More Update: (5:17 pm, 3/23/16)
I didn't know I had Enabled Hot Reloading
After I disable hot reloading, changing back to
works.
So, I'm assuming the issue is with HMR
BrianJoyce commentedon Mar 24, 2016
Similar issue here.

charpeni commentedon Mar 24, 2016
@BrianJoyce do you have Hot Reloading enabled ?
BrianJoyce commentedon Mar 24, 2016
No I don't.

nikolasburk commentedon Mar 24, 2016
I have the exact same issue as @BrianJoyce after starting a new project this morning. Could it have to do with the recent Xcode update?
BrianJoyce commentedon Mar 24, 2016
@nikolasburk yeah it's possible i guess, or something to do with react 0.22 and lastest xcode. Will check out a few 0.21 projects later to see if it's an issue with 0.21
nikolasburk commentedon Mar 24, 2016
I was using
"react-native": "^0.21.0"
in mypackage.json
. I now updated to 0.22, deleted all npm modules, rerannpm install
and then restarted the app withnpm start -- -- reset-cache
and this actually solved the issue for me.BrianJoyce commentedon Mar 24, 2016
@nikolasburk thanks! Did that, then uninstalled and re-installed watchman and it seems to have done the trick. Thanks again.
charpeni commentedon Mar 24, 2016
Since it seems resolved and caused by bad sync between js bundle and the app, I'll close it.
If you think this is a persistent bug, just reflag it.
charpeni commentedon Mar 24, 2016
@facebook-github-bot close
facebook-github-bot commentedon Mar 24, 2016
@charpeni tells me to close this issue. If you think it should still be opened let us know why.
chrisnojima commentedon Mar 25, 2016
Clearing the cache seems to have no affect for me. Turning off hot reloading does fix it. Using 0.22.2 and xcode Version 7.3 (7D175)
gopidon commentedon Apr 16, 2016
npm start -- -- reset-cache worked for me. XCode 7.3, RN - 0.23.1
Antsanirina commentedon Jun 2, 2016
same issues here.. any of your solutions is working . :/ (android studio 2.1.1)
masterkrang commentedon Jul 21, 2016
This won't be a solution for everybody, but the "constructor has no proptype for native prop X.X" is a common issue when running new projects. Make sure to close out all of your projects, and reset the cache in the simulator, try again. This usually works for me.
dcurletti commentedon Oct 1, 2016
I also currently having this issue.
my2dieer commentedon Mar 22, 2017
i have met the same issue. but i found the problem was that i had ran another project early. when i reload the terminal ,it works.
budiga commentedon Apr 22, 2017
reload the terminal,works for me!thanks! @my2dieer
durgarao150 commentedon May 15, 2018
what is the solution for this issue?