【发布时间】: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
- 世博会:41.0.1
- 反应:16.13.1
- 反应原生:https://github.com/expo/react-native/archive/sdk-41.0.0.tar.gz
【问题讨论】: