taskrabbit / ReactNativeSampleApp

Example app in React Native: sort of like twitter/tumblr
MIT License
929 stars 321 forks source link

Image has no propType #16

Closed dhunniecutt closed 8 years ago

dhunniecutt commented 8 years ago

Hi, Trying to run your sample. When I build in xcode I get the following error in the simulator: Image has no propType for native prop RCTImageView.defaultImageSrc of native UIImage.

Any idea what I may be missing?

bleonard commented 8 years ago

I don't believe we're even using an ImageView in this project. Were you running the packager from another project? sometimes that is an issue.

dhunniecutt commented 8 years ago

Not running from another project. Opened the Sample.xcworkspace and followed the instructions under IOS and Server on the read me. Maybe I missed a step though? In the screenshot you can see where it is attempting to verify the prop.

screen shot 2016-01-07 at 11 31 00 pm
jrichardlai commented 8 years ago

Is the packager running correctly? Can you close it and let the app run it and check there is no error ?

dhunniecutt commented 8 years ago

I'm pretty new to react-native, not sure what packager you're referring to?

ronak301 commented 8 years ago

I had same problem. i checked and found , packager already running in terminal for other project. Closed it. Running fine now.

bleonard commented 8 years ago

I've found most problems are something like that with restarting the packager.