Git Product home page Git Product logo

Comments (3)

manajay avatar manajay commented on June 26, 2024

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 facebook/react-native#4968
To resolve try the following:

  1. Clear watchman watches: watchman watch-del-all.
  2. Delete the node_modules folder: rm -rf node_modules && npm install.
  3. Reset packager cache: rm -fr $TMPDIR/react-* or npm start -- --reset-cache.

from mdcc-client.

liuyanhongwl avatar liuyanhongwl commented on June 26, 2024

I had same problem, and I solve it use next step:

  1. upgrade 'react-native' React Native升级指南|v0.40+升级适配经验与心得
  2. then 'react-native run-ios' will error because Navigator is deprecated in react-native v0.43. We can use 'react-native-deprecated-custom-components' in next step:
    2.1. npm install react-native-deprecated-custom-components --save
    2.2. import {Navigator} from 'react-native-deprecated-custom-components'

from mdcc-client.

poberwong avatar poberwong commented on June 26, 2024

@liuyanhongwl Thanks a lot

from mdcc-client.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.