react-native-router icon indicating copy to clipboard operation
react-native-router copied to clipboard

Caught error after npm install and white screen when refresh

Open bakso opened this issue 9 years ago • 3 comments

I executed npm install, and the termial showed the error info below suddenly: When press CMD+R to refresh, the screen became a whole white view, what cause this?

[12:08:53 PM] <END>   transform (322ms)
Unable to resolve module react-timer-mixin from /Users/xhowhy/dev/project/MyV2EX/node_modules/react-native-router/node_modules/react-native/Libraries/CustomComponents/ListView/ListView.js
Unable to resolve module react-timer-mixin from /Users/xhowhy/dev/project/MyV2EX/node_modules/react-native-router/node_modules/react-native/Libraries/CustomComponents/Navigator/Navigator.js
Unable to resolve module rebound from /Users/xhowhy/dev/project/MyV2EX/node_modules/react-native-router/node_modules/react-native/Libraries/CustomComponents/Navigator/Navigator.js
Unable to resolve module react-timer-mixin from /Users/xhowhy/dev/project/MyV2EX/node_modules/react-native-router/node_modules/react-native/Libraries/Components/TextInput/TextInput.js
Unable to resolve module react-timer-mixin from /Users/xhowhy/dev/project/MyV2EX/node_modules/react-native-router/node_modules/react-native/Libraries/Components/Touchable/TouchableHighlight.js
Unable to resolve module rebound from /Users/xhowhy/dev/project/MyV2EX/node_modules/react-native-router/node_modules/react-native/Libraries/ReactIOS/WarningBox.js
Unable to resolve module rebound from /Users/xhowhy/dev/project/MyV2EX/node_modules/react-native-router/node_modules/react-native/Libraries/ReactIOS/WarningBox.js
Unable to resolve module react-timer-mixin from /Users/xhowhy/dev/project/MyV2EX/node_modules/react-native-router/node_modules/react-native/Libraries/CustomComponents/ListView/ListView.js
Unable to resolve module react-timer-mixin from /Users/xhowhy/dev/project/MyV2EX/node_modules/react-native-router/node_modules/react-native/Libraries/CustomComponents/Navigator/Navigator.js
Unable to resolve module rebound from /Users/xhowhy/dev/project/MyV2EX/node_modules/react-native-router/node_modules/react-native/Libraries/CustomComponents/Navigator/Navigator.js
Unable to resolve module react-timer-mixin from /Users/xhowhy/dev/project/MyV2EX/node_modules/react-native-router/node_modules/react-native/Libraries/Components/TextInput/TextInput.js
Unable to resolve module react-timer-mixin from /Users/xhowhy/dev/project/MyV2EX/node_modules/react-native-router/node_modules/react-native/Libraries/Components/Touchable/TouchableHighlight.js

bakso avatar Sep 11 '15 04:09 bakso

When I delete the node_modules/react-native-router, it became normal. React 0.10.0, nodejs 4.0.0

bakso avatar Sep 11 '15 04:09 bakso

the react-native that sits in this module is out of date, you can update it yourself in the package.json.

I actually have a fork with additional improvements that I'll be publishing to npm soon, so you can also just go ahead and use that here

MikaelCarpenter avatar Sep 11 '15 16:09 MikaelCarpenter

@MikaelCarpenter Thank you but I still have a question, why are you so smart?

bakso avatar Sep 11 '15 16:09 bakso