react-native执行react-native run-ios报错,希望能解决

1,技术栈react + react native + dva + ant design mobile ui
React-navgatio
刚开始搭建项目,初步搭建好各种框架时正常运行,写了几个js文件之后就报错。
2,试过错误提示中所有方法和GitHub、Stack Overflow的方法都没有解决
2 报错信息:
Unable to resolve module react-navigation-redux-helpers from /Users/dev1/code/RN-APP/jtxapp/decopro/src/router.js: Module react-navigation-redux-helpers does not exist in the Haste module map

This might be related to https://github.com/facebook/r...
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 Metro Bundler cache: rm -rf /tmp/metro-bundler-cache-* or npm start -- --reset-cache.
  4. Remove haste cache: rm -rf /tmp/haste-map-react-native-packager-*.

RCTFatal
__28-[RCTCxxBridge handleError:]_block_invoke
_dispatch_call_block_and_release
_dispatch_client_callout
_dispatch_main_queue_callback_4CF
CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE
__CFRunLoopRun
CFRunLoopRunSpecific
GSEventRunModal
UIApplicationMain
main
start
0x0

阅读 2.1k
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题