Skip to content
This repository has been archived by the owner on Oct 2, 2019. It is now read-only.

Caught error after npm install and white screen when refresh #61

Open
bakso opened this issue Sep 11, 2015 · 3 comments
Open

Caught error after npm install and white screen when refresh #61

bakso opened this issue Sep 11, 2015 · 3 comments

Comments

@bakso
Copy link

bakso commented Sep 11, 2015

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
Copy link
Author

bakso commented Sep 11, 2015

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

@MikaelCarpenter
Copy link

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

@bakso
Copy link
Author

bakso commented Sep 11, 2015

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants