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
I can take a look at this tomorrow.
@facebook-github-bot label ios
Thank you,
Update: (5:00 pm, 3/23/16)
I changed the code
from
var React = require('react-native');
var {
...
MapView,
...
} = React;
to
import React, {
...
MapView,
...
} from 'react-native';
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
var React = require('react-native');
var {
...
MapView,
...
} = React;
works.
So, I'm assuming the issue is with HMR
Similar issue here.

@BrianJoyce do you have Hot Reloading enabled ?
No I don't.

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?
@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
I was using "react-native": "^0.21.0" in my package.json. I now updated to 0.22, deleted all npm modules, reran npm install and then restarted the app with npm start -- -- reset-cache and this actually solved the issue for me.
@nikolasburk thanks! Did that, then uninstalled and re-installed watchman and it seems to have done the trick. Thanks again.
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.
@facebook-github-bot close
@charpeni tells me to close this issue. If you think it should still be opened let us know why.
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)
npm start -- -- reset-cache worked for me. XCode 7.3, RN - 0.23.1
same issues here.. any of your solutions is working . :/ (android studio 2.1.1)
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.
I also currently having this issue.
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.
reload the terminal,works for me!thanks! @my2dieer
what is the solution for this issue?
Most helpful comment
Similar issue here.
