I tried to run react-native run-android and I got this error.
info Running jetifier to migrate libraries to AndroidX. You can disable
it using "--no-jetifier" flag.
error Failed to run jetifier. Run CLI with --verbose flag for more details.
Error: spawnSync C:UsersJayKDesktopReactAwesomeProject
ode_modulesjetifierinjetify ENOENT
at Object.spawnSync (internal/child_process.js:1002:20)
at spawnSync (child_process.js:614:24)
at execFileSync (child_process.js:642:13)
at Object.runAndroid [as func] (C:UsersJayKDesktopReactAwesomeProject
ode_modules@react-native-communitycli-platform-androiduildcommands
unAndroidindex.js:101:41)
at Command.handleAction (C:UsersJayKDesktopReactAwesomeProject
ode_modules@react-native-communitycliuildcliEntry.js:160:21)
at Command.listener (C:UsersJayKDesktopReactAwesomeProject
ode_modulescommanderindex.js:315:8)
at Command.emit (events.js:198:13)
at Command.parseArgs (C:UsersJayKDesktopReactAwesomeProject
ode_modulescommanderindex.js:651:12)
at Command.parse (C:UsersJayKDesktopReactAwesomeProject
ode_modulescommanderindex.js:474:21)
at setupAndRun (C:UsersJayKDesktopReactAwesomeProject
ode_modules@react-native-communitycliuildcliEntry.js:210:24)
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…