【问题标题】:flow throws errors with a new react-native init projectflow 使用新的 react-native init 项目引发错误
【发布时间】:2019-11-09 14:27:36
【问题描述】:

使用新的 react-native-init 项目运行流程后出现错误。

错误类型:“无法解析模块..” screenshot from the console after running "yarn run flow"

有人可以建议使用什么版本的 react-native /flow,这样我就可以摆脱所有这些错误?

谢谢!

【问题讨论】:

  • 你去看医生的时候,你是不是只告诉他你有痛,而不告诉他痛在哪里?添加您遇到的错误。
  • 我有 1000 个错误,全部来自 node_modules 文件夹
  • 附上截图的链接。

标签: react-native flowtype


【解决方案1】:
  • 嘿,删除这个项目,然后使用我的线 react-native init 采样器。转到该文件夹​​,cd Sampler。运行命令启动 包,确保你启动了模拟器 npm install && react 原生链接 && react-native run-android

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2020-10-19
    • 1970-01-01
    • 1970-01-01
    • 2020-12-10
    • 1970-01-01
    • 1970-01-01
    • 2016-08-20
    • 2018-12-13
    相关资源
    最近更新 更多