ReactNative_Shopping icon indicating copy to clipboard operation
ReactNative_Shopping copied to clipboard

iOS跑不起来

Open WTGrim opened this issue 7 years ago • 0 comments

Unable to resolve module react/lib/ReactUpdates from /Users/grim/Documents/Work/Fun/ReactNative/Learn/ReactNative_Shopping-master/node_modules/react-native/Libraries/react-native/react-native.js: Unable to find this module in its module map or any of the node_modules directories under /Users/node_modules/react/lib/ReactUpdates and its parent directories

This might be related to https://github.com/facebook/react-native/issues/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.

WTGrim avatar Dec 05 '17 01:12 WTGrim