【问题标题】:React Native Expo 41 app crashing on debug remotejs enablingReact Native Expo 41 应用程序在调试 remotejs 启用时崩溃
【发布时间】:2021-06-17 06:20:02
【问题描述】:

我是 react-native 的新手并遇到以下问题。当我在未从设备启用 remotejs dubug 选项的情况下运行应用程序时,它工作正常。但是一旦我在摇动设备后启用调试 remotejs,应用程序就会崩溃控制台中出现以下错误,应用程序崩溃。

(node:1064) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated
(Use `node --trace-deprecation ...` to show where the warning was created)
Error: spawn cmd ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:269:19)
at onErrorNT (internal/child_process.js:467:16)
at processTicksAndRejections (internal/process/task_queues.js:82:21)
error Command failed with exit code 1

【问题讨论】:

    标签: react-native debugging


    【解决方案1】:

    通过将 C:\Windows\System32\ 添加到路径变量然后重新启动计算机来解决它。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2021-10-25
      • 1970-01-01
      • 2023-02-02
      • 2021-06-17
      • 2022-01-21
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多