我正在尝试将排毒添加到我的React Native应用程序中。当我运行命令时:
yarn add detox --dev
我收到以下错误:
Error: Command failed:
/Users/praveen/Documents/coding/react/BarsAppAmplify/node_modules/detox/scripts/build_framework.ios.sh
at checkExecSyncError (child_process.js:611:11)
at Object.execFileSync (child_process.js:629:13)
at Object.<anonymous> (/Users/praveen/Documents/coding/react/BarsAppAmplify/node_modules/detox/scripts/postinstall.js:2:27)
at Module._compile (internal/modules/cjs/loader.js:688:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:699:10)
at Module.load (internal/modules/cjs/loader.js:598:32)
at tryModuleLoad (internal/modules/cjs/loader.js:537:12)
有解决方案吗?问候。