【问题标题】:Getting Error: EIO: i/o error, read in Expo for React Native出现错误:EIO:i/o 错误,在 Expo 中读取 React Native
【发布时间】:2020-07-19 11:20:37
【问题描述】:

在“yarn start”和 expo 启动 Metro bundler 之后,我无法通过 expo IOS 应用程序连接我的物理设备,几秒钟后弹出此错误消息。

请问我该如何解决?

Failed to construct transformer:  Error: EIO: i/o error, read
    at Object.readSync (fs.js:506:3)
    at tryReadSync (fs.js:331:20)
    at Object.readFileSync (fs.js:360:19)
    at Object.<anonymous> (C:\Users.....node_modules\jest-haste-map\build\worker.js:220:39)
    at Generator.next (<anonymous>)
    at asyncGeneratorStep (C:\Users\.....\node_modules\jest-haste-map\build\worker.js:78:24)
    at _next (C:\Users\emeka\workspace\fullstack\Reactnative\Confusion\node_modules\jest-haste-map\build\worker.js:98:9)
    at C:\Users\.....\node_modules\jest-haste-map\build\worker.js:103:7
    at new Promise (<anonymous>)
    at Object.<anonymous> (C:\Users\....\Confusion\node_modules\jest-haste-map\build\worker.js:95:12) {
  type: 'Error',
  errno: -4070,
  syscall: 'read',
  code: 'EIO'
}

【问题讨论】:

    标签: react-native expo


    【解决方案1】:

    重新安装 expo 解决了它。我想可能是在安装 npm 包时删除了一些文件。

    【讨论】:

      猜你喜欢
      • 2022-06-18
      • 2018-08-24
      • 1970-01-01
      • 1970-01-01
      • 2018-06-12
      • 1970-01-01
      • 2020-06-03
      • 2015-09-15
      • 1970-01-01
      相关资源
      最近更新 更多