Open xuanskyer opened 7 years ago
2017-06-02 10:01:14.370 [fatal][tid:main] Unable to resolve module react/lib/ReactUpdates from /Users/pdid-7/Downloads/mdcc-client-master/node_modules/react-native/Libraries/react-native/react-native.js: Module does not exist in the module map or in these directories: /Users/pdid-7/Downloads/mdcc-client-master/node_modules/react-native/node_modules/react/lib , /Users/pdid-7/Downloads/mdcc-client-master/node_modules/react/lib
This might be related to https://github.com/facebook/react-native/issues/4968 To resolve try the following:
watchman watch-del-all
.node_modules
folder: rm -rf node_modules && npm install
.rm -fr $TMPDIR/react-*
or npm start -- --reset-cache
.I had same problem, and I solve it use next step:
npm install react-native-deprecated-custom-components --save
2.2. import {Navigator} from 'react-native-deprecated-custom-components'
@liuyanhongwl Thanks a lot