反应本机构建错误-在checkExecSyncError

时间:2020-01-29 13:58:32

标签: reactjs react-native error-handling compiler-errors android-emulator

我是位地理定位简单教程的新手。 该应用程序不是使用EXPO开发的,而是使用原始React Native

一切似乎都还可以,但是我不得不重新编译它,模拟器无法启动并发生这种情况。

  BUILD FAILED in 12s

    at checkExecSyncError (child_process.js:629:11)
    at execFileSync (child_process.js:647:13)
    at runOnAllDevices (C:\Users\Marco\Desktop\academind-react\share-places\node_modules\@react-native-community\cli-platform-android\build\commands\runAndroid\runOnAllDevices.js:94:39)
    at buildAndRun (C:\Users\Marco\Desktop\academind-react\share-places\node_modules\@react-native-community\cli-platform-android\build\commands\runAndroid\index.js:158:41)
    at then.result (C:\Users\Marco\Desktop\academind-react\share-places\node_modules\@react-native-community\cli-platform-android\build\commands\runAndroid\index.js:125:12)
    at process._tickCallback (internal/process/next_tick.js:68:7)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ android: `react-native run-android`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ android script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Marco\AppData\Roaming\npm-cache\_logs\2020-01-29T13_51_45_526Z-debug.log

我不知道,有人知道吗? 预先感谢!

0 个答案:

没有答案