iwgang / GankCamp-React-Native

gank.io (干货集中营) react-native版本,同时支持Android和iOS
MIT License
251 stars 64 forks source link

iOS无法运行 #5

Open vistaLin opened 8 years ago

vistaLin commented 8 years ago

你好,我感觉你的项目非常的好,所以很想运行.但是我尝试了一上午都无法运行.iOS中模拟器会报错:GankCamp-React-Native-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/ReactDefaultPerf 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. 我照着提示运行仍然失败?这是版本packer.json版本不兼容吗?
lee-my commented 8 years ago

me to