Не удалось запустить Jetifier , не удается найти ошибку модуля «который» в react-native

#javascript #android #react-native #gradle #android-jetifier

Вопрос:

Понятия не имею, что происходит или что мне нужно исправить. Я пишу предложения, чтобы я мог публиковать. Понятия не имею, что происходит или что мне нужно исправить. Я пишу предложения, чтобы я мог публиковать. Понятия не имею, что происходит или что мне нужно исправить. Я пишу предложения, чтобы я мог публиковать.

Терминал

 info Running jetifier to migrate libraries to AndroidX. You can disable it using "--no-jetifier" flag.
    error Failed to run jetifier.
    Error: Cannot find module 'which'
    Require stack:
    - C:UserskcopuDesktopReactNativeProjectsUberClonenode_modulesexecanode_modulescross-spawnlibutilresolveCommand.js
    - C:UserskcopuDesktopReactNativeProjectsUberClonenode_modulesexecanode_modulescross-spawnlibparse.js
    - C:UserskcopuDesktopReactNativeProjectsUberClonenode_modulesexecanode_modulescross-spawnindex.js
    - C:UserskcopuDesktopReactNativeProjectsUberClonenode_modulesexecaindex.js
    - C:UserskcopuDesktopReactNativeProjectsUberClonenode_modules@react-native-communitycli-platform-androidbuildcommandsrunAndroidindex.js
    - C:UserskcopuDesktopReactNativeProjectsUberClonenode_modules@react-native-communitycli-platform-androidbuildcommandsindex.js
    - C:UserskcopuDesktopReactNativeProjectsUberClonenode_modules@react-native-communitycli-platform-androidbuildindex.js
    - C:UserskcopuDesktopReactNativeProjectsUberClonenode_modulesreact-nativereact-native.config.js
    - C:UserskcopuDesktopReactNativeProjectsUberClonenode_modulescosmiconfignode_modulesimport-freshindex.js
    - C:UserskcopuDesktopReactNativeProjectsUberClonenode_modulescosmiconfigdistloaders.js
    - C:UserskcopuDesktopReactNativeProjectsUberClonenode_modulescosmiconfigdistcreateExplorer.js
    - C:UserskcopuDesktopReactNativeProjectsUberClonenode_modulescosmiconfigdistindex.js
    - C:UserskcopuDesktopReactNativeProjectsUberClonenode_modules@react-native-communityclibuildtoolsconfigreadConfigFromDisk.js
    - C:UserskcopuDesktopReactNativeProjectsUberClonenode_modules@react-native-communityclibuildtoolsconfigindex.js
    - C:UserskcopuDesktopReactNativeProjectsUberClonenode_modules@react-native-communityclibuildcommandsinstallinstall.js
    - C:UserskcopuDesktopReactNativeProjectsUberClonenode_modules@react-native-communityclibuildcommandsindex.js
    - C:UserskcopuDesktopReactNativeProjectsUberClonenode_modules@react-native-communityclibuildindex.js
    - C:UserskcopuDesktopReactNativeProjectsUberClonenode_modules@react-native-communityclibuildbin.js
        at Function.Module._resolveFilename (node:internal/modules/cjs/loader:927:15)
        at Function.Module._load (node:internal/modules/cjs/loader:772:27)
        at Module.require (node:internal/modules/cjs/loader:999:19)
        at require (node:internal/modules/cjs/helpers:93:18)
        at Object.<anonymous> (C:UserskcopuDesktopReactNativeProjectsUberClonenode_modulesexecanode_modulescross-spawnlibutilresolveCommand.js:4:15)
        at Module._compile (node:internal/modules/cjs/loader:1095:14)
        at Object.Module._extensions..js (node:internal/modules/cjs/loader:1124:10)
        at Module.load (node:internal/modules/cjs/loader:975:32)
        at Function.Module._load (node:internal/modules/cjs/loader:816:12)
        at Module.require (node:internal/modules/cjs/loader:999:19)
    info Run CLI with --verbose flag for more details.