Skip to content

iOS无法运行 #5

@vistaLin

Description

@vistaLin

你好,我感觉你的项目非常的好,所以很想运行.但是我尝试了一上午都无法运行.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 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.
    我照着提示运行仍然失败?这是版本packer.json版本不兼容吗?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions