syrusakbary / react-native-refresher

A pull to refresh ListView for React Native completely written in js.
MIT License
453 stars 34 forks source link

How to require react-native-refresher #4

Closed liuda101 closed 9 years ago

liuda101 commented 9 years ago

Hi, after npm install react-native-refresher, I use require('react-native-refresher'). But bug happened.

As,

image

syrusakbary commented 9 years ago

Hi @liuda101, you probably installed react-native-refresher in a separate shell, while you still have the packager running. Just close the packager shell (could be done stopping the app) and rebuild the app again. If this doesn't work, restart xCode.

liuda101 commented 9 years ago

@syrusakbary Thank you very much! Packager shell is not very clever ^_^