-
Notifications
You must be signed in to change notification settings - Fork 24.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
0.75.0-rc.6 - App build failed for task ':app:generateAutolinkingPackageList'. #45403
Comments
@lmahoudeau Can you provide the following:
Thank you |
Hi @cortinico, {
"root": "E:\\git_sources\\bus-on-time-app-2",
"reactNativePath": "E:\\git_sources\\bus-on-time-app-2\\node_modules\\react-native",
"reactNativeVersion": "0.75",
"dependencies": {
"@react-native-async-storage/async-storage": {
"root": "E:\\git_sources\\bus-on-time-app-2\\node_modules\\@react-native-async-storage\\async-storage",
"name": "@react-native-async-storage/async-storage",
"platforms": {
"ios": {
"podspecPath": "E:\\git_sources\\bus-on-time-app-2\\node_modules\\@react-native-async-storage\\async-storage\\RNCAsyncStorage.podspec",
"version": "1.23.1",
"configurations": [],
"scriptPhases": []
},
"android": {
"sourceDir": "E:\\git_sources\\bus-on-time-app-2\\node_modules\\@react-native-async-storage\\async-storage\\android",
"packageImportPath": "import com.reactnativecommunity.asyncstorage.AsyncStoragePackage;",
"packageInstance": "new AsyncStoragePackage()",
"buildTypes": [],
"libraryName": "rnasyncstorage",
"componentDescriptors": [],
"cmakeListsPath": "E:/git_sources/bus-on-time-app-2/node_modules/@react-native-async-storage/async-storage/android/build/generated/source/codegen/jni/CMakeLists.txt",
"cxxModuleCMakeListsModuleName": null,
"cxxModuleCMakeListsPath": null,
"cxxModuleHeaderName": null
}
}
},
"react-native-camera-kit": {
"root": "E:\\git_sources\\bus-on-time-app-2\\node_modules\\react-native-camera-kit",
"name": "react-native-camera-kit",
"platforms": {
"ios": {
"podspecPath": "E:\\git_sources\\bus-on-time-app-2\\node_modules\\react-native-camera-kit\\ReactNativeCameraKit.podspec",
"version": "13.0.0",
"configurations": [],
"scriptPhases": []
},
"android": {
"sourceDir": "E:\\git_sources\\bus-on-time-app-2\\node_modules\\react-native-camera-kit\\android",
"packageImportPath": "import com.rncamerakit.RNCameraKitPackage;",
"packageInstance": "new RNCameraKitPackage()",
"buildTypes": [],
"componentDescriptors": [],
"cmakeListsPath": "E:/git_sources/bus-on-time-app-2/node_modules/react-native-camera-kit/android/build/generated/source/codegen/jni/CMakeLists.txt",
"cxxModuleCMakeListsModuleName": null,
"cxxModuleCMakeListsPath": null,
"cxxModuleHeaderName": null
}
}
},
"react-native-geolocation-service": {
"root": "E:\\git_sources\\bus-on-time-app-2\\node_modules\\react-native-geolocation-service",
"name": "react-native-geolocation-service",
"platforms": {
"ios": {
"podspecPath": "E:\\git_sources\\bus-on-time-app-2\\node_modules\\react-native-geolocation-service\\react-native-geolocation-service.podspec",
"version": "5.3.1",
"configurations": [],
"scriptPhases": []
},
"android": {
"sourceDir": "E:\\git_sources\\bus-on-time-app-2\\node_modules\\react-native-geolocation-service\\android",
"packageImportPath": "import com.agontuk.RNFusedLocation.RNFusedLocationPackage;",
"packageInstance": "new RNFusedLocationPackage()",
"buildTypes": [],
"componentDescriptors": [],
"cmakeListsPath": "E:/git_sources/bus-on-time-app-2/node_modules/react-native-geolocation-service/android/build/generated/source/codegen/jni/CMakeLists.txt",
"cxxModuleCMakeListsModuleName": null,
"cxxModuleCMakeListsPath": null,
"cxxModuleHeaderName": null
}
}
},
"react-native-gesture-handler": {
"root": "E:\\git_sources\\bus-on-time-app-2\\node_modules\\react-native-gesture-handler",
"name": "react-native-gesture-handler",
"platforms": {
"ios": {
"podspecPath": "E:\\git_sources\\bus-on-time-app-2\\node_modules\\react-native-gesture-handler\\RNGestureHandler.podspec",
"version": "2.17.1",
"configurations": [],
"scriptPhases": []
},
"android": {
"sourceDir": "E:\\git_sources\\bus-on-time-app-2\\node_modules\\react-native-gesture-handler\\android",
"packageImportPath": "import com.swmansion.gesturehandler.RNGestureHandlerPackage;",
"packageInstance": "new RNGestureHandlerPackage()",
"buildTypes": [],
"libraryName": "rngesturehandler_codegen",
"componentDescriptors": [
"RNGestureHandlerButtonComponentDescriptor",
"RNGestureHandlerRootViewComponentDescriptor"
],
"cmakeListsPath": "E:/git_sources/bus-on-time-app-2/node_modules/react-native-gesture-handler/android/build/generated/source/codegen/jni/CMakeLists.txt",
"cxxModuleCMakeListsModuleName": null,
"cxxModuleCMakeListsPath": null,
"cxxModuleHeaderName": null
}
}
},
"react-native-maps": {
"root": "E:\\git_sources\\bus-on-time-app-2\\node_modules\\react-native-maps",
"name": "react-native-maps",
"platforms": {
"ios": {
"podspecPath": "E:\\git_sources\\bus-on-time-app-2\\node_modules\\react-native-maps\\react-native-maps.podspec",
"version": "1.15.6",
"configurations": [],
"scriptPhases": []
},
"android": {
"sourceDir": "E:\\git_sources\\bus-on-time-app-2\\node_modules\\react-native-maps\\android",
"packageImportPath": "import com.rnmaps.maps.MapsPackage;",
"packageInstance": "new MapsPackage()",
"buildTypes": [],
"componentDescriptors": [],
"cmakeListsPath": "E:/git_sources/bus-on-time-app-2/node_modules/react-native-maps/android/build/generated/source/codegen/jni/CMakeLists.txt",
"cxxModuleCMakeListsModuleName": null,
"cxxModuleCMakeListsPath": null,
"cxxModuleHeaderName": null
}
}
},
"react-native-navigation-bar-color": {
"root": "E:\\git_sources\\bus-on-time-app-2\\node_modules\\react-native-navigation-bar-color",
"name": "react-native-navigation-bar-color",
"platforms": {
"ios": null,
"android": {
"sourceDir": "E:\\git_sources\\bus-on-time-app-2\\node_modules\\react-native-navigation-bar-color\\android",
"packageImportPath": "import com.thebylito.navigationbarcolor.NavigationBarColorPackage;",
"packageInstance": "new NavigationBarColorPackage()",
"buildTypes": [],
"componentDescriptors": [],
"cmakeListsPath": "E:/git_sources/bus-on-time-app-2/node_modules/react-native-navigation-bar-color/android/build/generated/source/codegen/jni/CMakeLists.txt",
"cxxModuleCMakeListsModuleName": null,
"cxxModuleCMakeListsPath": null,
"cxxModuleHeaderName": null
}
}
},
"react-native-pager-view": {
"root": "E:\\git_sources\\bus-on-time-app-2\\node_modules\\react-native-pager-view",
"name": "react-native-pager-view",
"platforms": {
"ios": {
"podspecPath": "E:\\git_sources\\bus-on-time-app-2\\node_modules\\react-native-pager-view\\react-native-pager-view.podspec",
"version": "6.3.3",
"configurations": [],
"scriptPhases": []
},
"android": {
"sourceDir": "E:\\git_sources\\bus-on-time-app-2\\node_modules\\react-native-pager-view\\android",
"packageImportPath": "import com.reactnativepagerview.PagerViewPackage;",
"packageInstance": "new PagerViewPackage()",
"buildTypes": [],
"libraryName": "pagerview",
"componentDescriptors": [
"LEGACY_RNCViewPagerComponentDescriptor",
"RNCViewPagerComponentDescriptor"
],
"cmakeListsPath": "E:/git_sources/bus-on-time-app-2/node_modules/react-native-pager-view/android/build/generated/source/codegen/jni/CMakeLists.txt",
"cxxModuleCMakeListsModuleName": null,
"cxxModuleCMakeListsPath": null,
"cxxModuleHeaderName": null
}
}
},
"react-native-permissions": {
"root": "E:\\git_sources\\bus-on-time-app-2\\node_modules\\react-native-permissions",
"name": "react-native-permissions",
"platforms": {
"ios": {
"podspecPath": "E:\\git_sources\\bus-on-time-app-2\\node_modules\\react-native-permissions\\RNPermissions.podspec",
"version": "4.1.5",
"configurations": [],
"scriptPhases": []
},
"android": {
"sourceDir": "E:\\git_sources\\bus-on-time-app-2\\node_modules\\react-native-permissions\\android",
"packageImportPath": "import com.zoontek.rnpermissions.RNPermissionsPackage;",
"packageInstance": "new RNPermissionsPackage()",
"buildTypes": [],
"libraryName": "RNPermissionsSpec",
"componentDescriptors": [],
"cmakeListsPath": "E:/git_sources/bus-on-time-app-2/node_modules/react-native-permissions/android/build/generated/source/codegen/jni/CMakeLists.txt",
"cxxModuleCMakeListsModuleName": null,
"cxxModuleCMakeListsPath": null,
"cxxModuleHeaderName": null
}
}
},
"react-native-reanimated": {
"root": "E:\\git_sources\\bus-on-time-app-2\\node_modules\\react-native-reanimated",
"name": "react-native-reanimated",
"platforms": {
"ios": {
"podspecPath": "E:\\git_sources\\bus-on-time-app-2\\node_modules\\react-native-reanimated\\RNReanimated.podspec",
"version": "3.14.0",
"configurations": [],
"scriptPhases": []
},
"android": {
"sourceDir": "E:\\git_sources\\bus-on-time-app-2\\node_modules\\react-native-reanimated\\android",
"packageImportPath": "import com.swmansion.reanimated.ReanimatedPackage;",
"packageInstance": "new ReanimatedPackage()",
"buildTypes": [],
"libraryName": "rnreanimated",
"componentDescriptors": [],
"cmakeListsPath": "E:/git_sources/bus-on-time-app-2/node_modules/react-native-reanimated/android/build/generated/source/codegen/jni/CMakeLists.txt",
"cxxModuleCMakeListsModuleName": null,
"cxxModuleCMakeListsPath": null,
"cxxModuleHeaderName": null
}
}
},
"react-native-safe-area-context": {
"root": "E:\\git_sources\\bus-on-time-app-2\\node_modules\\react-native-safe-area-context",
"name": "react-native-safe-area-context",
"platforms": {
"ios": {
"podspecPath": "E:\\git_sources\\bus-on-time-app-2\\node_modules\\react-native-safe-area-context\\react-native-safe-area-context.podspec",
"version": "4.10.8",
"configurations": [],
"scriptPhases": []
},
"android": {
"sourceDir": "E:\\git_sources\\bus-on-time-app-2\\node_modules\\react-native-safe-area-context\\android",
"packageImportPath": "import com.th3rdwave.safeareacontext.SafeAreaContextPackage;",
"packageInstance": "new SafeAreaContextPackage()",
"buildTypes": [],
"libraryName": "safeareacontext",
"componentDescriptors": [
"RNCSafeAreaProviderComponentDescriptor",
"RNCSafeAreaViewComponentDescriptor"
],
"cmakeListsPath": "E:/git_sources/bus-on-time-app-2/node_modules/react-native-safe-area-context/android/src/main/jni/CMakeLists.txt",
"cxxModuleCMakeListsModuleName": null,
"cxxModuleCMakeListsPath": null,
"cxxModuleHeaderName": null
}
}
},
"react-native-screens": {
"root": "E:\\git_sources\\bus-on-time-app-2\\node_modules\\react-native-screens",
"name": "react-native-screens",
"platforms": {
"ios": {
"podspecPath": "E:\\git_sources\\bus-on-time-app-2\\node_modules\\react-native-screens\\RNScreens.podspec",
"version": "3.32.0",
"configurations": [],
"scriptPhases": []
},
"android": {
"sourceDir": "E:\\git_sources\\bus-on-time-app-2\\node_modules\\react-native-screens\\android",
"packageImportPath": "import com.swmansion.rnscreens.RNScreensPackage;",
"packageInstance": "new RNScreensPackage()",
"buildTypes": [],
"libraryName": "rnscreens",
"componentDescriptors": [
"RNSFullWindowOverlayComponentDescriptor",
"RNSScreenContainerComponentDescriptor",
"RNSScreenNavigationContainerComponentDescriptor",
"RNSScreenStackHeaderConfigComponentDescriptor",
"RNSScreenStackHeaderSubviewComponentDescriptor",
"RNSScreenStackComponentDescriptor",
"RNSSearchBarComponentDescriptor",
"RNSScreenComponentDescriptor",
"RNSModalScreenComponentDescriptor"
],
"cmakeListsPath": "E:/git_sources/bus-on-time-app-2/node_modules/react-native-screens/android/src/main/jni/CMakeLists.txt",
"cxxModuleCMakeListsModuleName": null,
"cxxModuleCMakeListsPath": null,
"cxxModuleHeaderName": null
}
}
},
"react-native-vector-icons": {
"root": "E:\\git_sources\\bus-on-time-app-2\\node_modules\\react-native-vector-icons",
"name": "react-native-vector-icons",
"platforms": {
"ios": {
"podspecPath": "E:\\git_sources\\bus-on-time-app-2\\node_modules\\react-native-vector-icons\\RNVectorIcons.podspec",
"version": "10.1.0",
"configurations": [],
"scriptPhases": []
},
"android": {
"sourceDir": "E:\\git_sources\\bus-on-time-app-2\\node_modules\\react-native-vector-icons\\android",
"packageImportPath": "import com.oblador.vectoricons.VectorIconsPackage;",
"packageInstance": "new VectorIconsPackage()",
"buildTypes": [],
"libraryName": "RNVectorIconsSpec",
"componentDescriptors": [],
"cmakeListsPath": "E:/git_sources/bus-on-time-app-2/node_modules/react-native-vector-icons/android/build/generated/source/codegen/jni/CMakeLists.txt",
"cxxModuleCMakeListsModuleName": null,
"cxxModuleCMakeListsPath": null,
"cxxModuleHeaderName": null
}
}
}
},
"commands": [
{
"name": "bundle",
"description": "Build the bundle for the provided JavaScript entry file.",
"options": [
{
"name": "--entry-file <path>",
"description": "Path to the root JS file, either absolute or relative to JS root"
},
{
"name": "--platform <string>",
"description": "Either \"ios\" or \"android\"",
"default": "ios"
},
{
"name": "--transformer <string>",
"description": "Specify a custom transformer to be used"
},
{
"name": "--dev [boolean]",
"description": "If false, warnings are disabled and the bundle is minified",
"default": true
},
{
"name": "--minify [boolean]",
"description": "Allows overriding whether bundle is minified. This defaults to false if dev is true, and true if dev is false. Disabling minification can be useful for speeding up production builds for testing purposes."
},
{
"name": "--bundle-output <string>",
"description": "File name where to store the resulting bundle, ex. /tmp/groups.bundle"
},
{
"name": "--bundle-encoding <string>",
"description": "Encoding the bundle should be written in (https://nodejs.org/api/buffer.html#buffer_buffer).",
"default": "utf8"
},
{
"name": "--max-workers <number>",
"description": "Specifies the maximum number of workers the worker-pool will spawn for transforming files. This defaults to the number of the cores available on your machine."
},
{
"name": "--sourcemap-output <string>",
"description": "File name where to store the sourcemap file for resulting bundle, ex. /tmp/groups.map"
},
{
"name": "--sourcemap-sources-root <string>",
"description": "Path to make sourcemap's sources entries relative to, ex. /root/dir"
},
{
"name": "--sourcemap-use-absolute-path",
"description": "Report SourceMapURL using its full path",
"default": false
},
{
"name": "--assets-dest <string>",
"description": "Directory name where to store assets referenced in the bundle"
},
{
"name": "--unstable-transform-profile <string>",
"description": "Experimental, transform JS for a specific JS engine. Currently supported: hermes, hermes-canary, default",
"default": "default"
},
{
"name": "--asset-catalog-dest [string]",
"description": "Path where to create an iOS Asset Catalog for images"
},
{
"name": "--reset-cache",
"description": "Removes cached files",
"default": false
},
{
"name": "--read-global-cache",
"description": "Try to fetch transformed JS code from the global cache, if configured.",
"default": false
},
{
"name": "--config <string>",
"description": "Path to the CLI configuration file"
},
{
"name": "--resolver-option <string...>",
"description": "Custom resolver options of the form key=value. URL-encoded. May be specified multiple times."
}
]
},
{
"name": "start",
"description": "Start the React Native development server.",
"options": [
{
"name": "--port <number>"
},
{
"name": "--host <string>",
"default": ""
},
{
"name": "--projectRoot <path>",
"description": "Path to a custom project root"
},
{
"name": "--watchFolders <list>",
"description": "Specify any additional folders to be added to the watch list"
},
{
"name": "--assetPlugins <list>",
"description": "Specify any additional asset plugins to be used by the packager by full filepath"
},
{
"name": "--sourceExts <list>",
"description": "Specify any additional source extensions to be used by the packager"
},
{
"name": "--max-workers <number>",
"description": "Specifies the maximum number of workers the worker-pool will spawn for transforming files. This defaults to the number of the cores available on your machine."
},
{
"name": "--transformer <string>",
"description": "Specify a custom transformer to be used"
},
{
"name": "--reset-cache, --resetCache",
"description": "Removes cached files"
},
{
"name": "--custom-log-reporter-path, --customLogReporterPath <string>",
"description": "Path to a JavaScript file that exports a log reporter as a replacement for TerminalReporter"
},
{
"name": "--https",
"description": "Enables https connections to the server"
},
{
"name": "--key <path>",
"description": "Path to custom SSL key"
},
{
"name": "--cert <path>",
"description": "Path to custom SSL cert"
},
{
"name": "--config <string>",
"description": "Path to the CLI configuration file"
},
{
"name": "--no-interactive",
"description": "Disables interactive mode"
},
{
"name": "--experimental-debugger",
"description": "[Experimental] Enable the new debugger experience and 'j' to debug. This enables the new frontend experience only: connection reliability and some basic features are unstable in this release."
}
]
},
{
"name": "codegen",
"options": [
{
"name": "--path <path>",
"description": "Path to the React Native project root.",
"default": "E:\\git_sources\\bus-on-time-app-2"
},
{
"name": "--platform <string>",
"description": "Target platform. Supported values: \"android\", \"ios\", \"all\".",
"default": "all"
},
{
"name": "--outputPath <path>",
"description": "Path where generated artifacts will be output to."
}
]
},
{
"name": "log-ios",
"description": "starts iOS device syslog tail",
"options": [
{
"name": "-i --interactive",
"description": "Explicitly select simulator to tail logs from. By default it will tail logs from the first booted and available simulator."
}
]
},
{
"name": "run-ios",
"description": "builds your app and starts it on iOS simulator",
"examples": [
{
"desc": "Run on a different simulator, e.g. iPhone SE (2nd generation)",
"cmd": "npx react-native run-ios --simulator \"iPhone SE (2nd generation)\""
},
{
"desc": "Run on a connected device, e.g. Max's iPhone",
"cmd": "npx react-native run-ios --device \"Max's iPhone\""
},
{
"desc": "Run on the AppleTV simulator",
"cmd": "npx react-native run-ios --simulator \"Apple TV\" --scheme \"helloworld-tvOS\""
}
],
"options": [
{
"name": "--no-packager",
"description": "Do not launch packager while running the app"
},
{
"name": "--port <number>",
"default": 8081
},
{
"name": "--terminal <string>",
"description": "Launches the Metro Bundler in a new window using the specified terminal path.",
"default": "cmd.exe"
},
{
"name": "--binary-path <string>",
"description": "Path relative to project root where pre-built .app binary lives."
},
{
"name": "--list-devices",
"description": "List all available iOS devices and simulators and let you choose one to run the app. "
},
{
"name": "--udid <string>",
"description": "Explicitly set the device to use by UDID"
},
{
"name": "--simulator <string>",
"description": "Explicitly set the simulator to use. Optionally set the iOS version between parentheses at the end to match an exact version: \"iPhone 15 (17.0)\""
},
{
"name": "--device [string]",
"description": "Explicitly set the device to use by name or by unique device identifier . If the value is not provided,the app will run on the first available physical device."
},
{
"name": "--mode <string>",
"description": "Explicitly set the scheme configuration to use. This option is case sensitive."
},
{
"name": "--scheme <string>",
"description": "Explicitly set Xcode scheme to use"
},
{
"name": "--destination <string>",
"description": "Explicitly extend destination e.g. \"arch=x86_64\""
},
{
"name": "--verbose",
"description": "Do not use xcbeautify or xcpretty even if installed"
},
{
"name": "--xcconfig [string]",
"description": "Explicitly set xcconfig to use"
},
{
"name": "--buildFolder <string>",
"description": "Location for iOS build artifacts. Corresponds to Xcode's \"-derivedDataPath\"."
},
{
"name": "--extra-params <string>",
"description": "Custom params that will be passed to xcodebuild command."
},
{
"name": "--target <string>",
"description": "Explicitly set Xcode target to use."
},
{
"name": "-i --interactive",
"description": "Explicitly select which scheme and configuration to use before running a build"
},
{
"name": "--force-pods",
"description": "Force CocoaPods installation"
}
]
},
{
"name": "build-ios",
"description": "builds your app for iOS platform",
"examples": [
{
"desc": "Build the app for all iOS devices in Release mode",
"cmd": "npx react-native build-ios --mode \"Release\""
}
],
"options": [
{
"name": "--mode <string>",
"description": "Explicitly set the scheme configuration to use. This option is case sensitive."
},
{
"name": "--scheme <string>",
"description": "Explicitly set Xcode scheme to use"
},
{
"name": "--destination <string>",
"description": "Explicitly extend destination e.g. \"arch=x86_64\""
},
{
"name": "--verbose",
"description": "Do not use xcbeautify or xcpretty even if installed"
},
{
"name": "--xcconfig [string]",
"description": "Explicitly set xcconfig to use"
},
{
"name": "--buildFolder <string>",
"description": "Location for iOS build artifacts. Corresponds to Xcode's \"-derivedDataPath\"."
},
{
"name": "--extra-params <string>",
"description": "Custom params that will be passed to xcodebuild command."
},
{
"name": "--target <string>",
"description": "Explicitly set Xcode target to use."
},
{
"name": "-i --interactive",
"description": "Explicitly select which scheme and configuration to use before running a build"
},
{
"name": "--force-pods",
"description": "Force CocoaPods installation"
}
]
},
{
"name": "log-android",
"description": "starts logkitty"
},
{
"name": "run-android",
"description": "builds your app and starts it on a connected Android emulator or device",
"options": [
{
"name": "--mode <string>",
"description": "Specify your app's build variant"
},
{
"name": "--tasks <list>",
"description": "Run custom Gradle tasks. By default it's \"assembleDebug\". Will override passed mode and variant arguments."
},
{
"name": "--active-arch-only",
"description": "Build native libraries only for the current device architecture for debug builds.",
"default": false
},
{
"name": "--extra-params <string>",
"description": "Custom params passed to gradle build command"
},
{
"name": "-i --interactive",
"description": "Explicitly select build type and flavour to use before running a build"
},
{
"name": "--no-packager",
"description": "Do not launch packager while running the app"
},
{
"name": "--port <number>",
"default": 8081
},
{
"name": "--terminal <string>",
"description": "Launches the Metro Bundler in a new window using the specified terminal path.",
"default": "cmd.exe"
},
{
"name": "--appId <string>",
"description": "Specify an applicationId to launch after build. If not specified, `package` from AndroidManifest.xml will be used.",
"default": ""
},
{
"name": "--appIdSuffix <string>",
"description": "Specify an applicationIdSuffix to launch after build.",
"default": ""
},
{
"name": "--main-activity <string>",
"description": "Name of the activity to start"
},
{
"name": "--device <string>",
"description": "Explicitly set the device to use by name. The value is not required if you have a single device connected."
},
{
"name": "--deviceId <string>",
"description": "**DEPRECATED** Builds your app and starts it on a specific device/simulator with the given device id (listed by running \"adb devices\" on the command line)."
},
{
"name": "--list-devices",
"description": "Lists all available Android devices and simulators and let you choose one to run the app",
"default": false
},
{
"name": "--binary-path <string>",
"description": "Path relative to project root where pre-built .apk binary lives."
},
{
"name": "--user <number>",
"description": "Id of the User Profile you want to install the app on."
}
]
},
{
"name": "build-android",
"description": "builds your app",
"options": [
{
"name": "--mode <string>",
"description": "Specify your app's build variant"
},
{
"name": "--tasks <list>",
"description": "Run custom Gradle tasks. By default it's \"assembleDebug\". Will override passed mode and variant arguments."
},
{
"name": "--active-arch-only",
"description": "Build native libraries only for the current device architecture for debug builds.",
"default": false
},
{
"name": "--extra-params <string>",
"description": "Custom params passed to gradle build command"
},
{
"name": "-i --interactive",
"description": "Explicitly select build type and flavour to use before running a build"
}
]
}
],
"healthChecks": [],
"platforms": {
"ios": {},
"android": {}
},
"assets": [],
"project": {
"ios": {
"sourceDir": "E:\\git_sources\\bus-on-time-app-2\\ios",
"xcodeProject": {
"name": "AwesomeProject.xcworkspace",
"path": ".",
"isWorkspace": true
},
"assets": []
},
"android": {
"sourceDir": "E:\\git_sources\\bus-on-time-app-2\\android",
"appName": "app",
"packageName": "com.awesomeproject",
"applicationId": "com.awesomeproject",
"mainActivity": ".MainActivity",
"assets": []
}
}
} |
Here is my reproducer : https://github.com/lmahoudeau/RN_0.75.0-rc.4_build_failure Same thing,
|
Your reproducer is invalid @lmahoudeau It works correctly and doesn't fail to build: Moreover also the CI on the reproducer repo is green: |
Yes I saw that @cortinico, but it's still not running on my computer. Thank you for your help |
Are you able to build it from the CLI if you invoke |
Ok so this needs more investigation as this could be a bug with Windows. |
No it's not the same project than the config I gave you first. {
"root": "E:\\git_sources\\Debug_0.75.0-rc.4\\RN_0.75.0-rc.4_build_failure\\ReproducerApp",
"reactNativePath": "E:\\git_sources\\Debug_0.75.0-rc.4\\RN_0.75.0-rc.4_build_failure\\ReproducerApp\\node_modules\\react-native",
"reactNativeVersion": "0.75",
"dependencies": {},
"commands": [
{
"name": "bundle",
"description": "Build the bundle for the provided JavaScript entry file.",
"options": [
{
"name": "--entry-file <path>",
"description": "Path to the root JS file, either absolute or relative to JS root"
},
{
"name": "--platform <string>",
"description": "Either \"ios\" or \"android\"",
"default": "ios"
},
{
"name": "--transformer <string>",
"description": "Specify a custom transformer to be used"
},
{
"name": "--dev [boolean]",
"description": "If false, warnings are disabled and the bundle is minified",
"default": true
},
{
"name": "--minify [boolean]",
"description": "Allows overriding whether bundle is minified. This defaults to false if dev is true, and true if dev is false. Disabling minification can be useful for speeding up production builds for testing purposes."
},
{
"name": "--bundle-output <string>",
"description": "File name where to store the resulting bundle, ex. /tmp/groups.bundle"
},
{
"name": "--bundle-encoding <string>",
"description": "Encoding the bundle should be written in (https://nodejs.org/api/buffer.html#buffer_buffer).",
"default": "utf8"
},
{
"name": "--max-workers <number>",
"description": "Specifies the maximum number of workers the worker-pool will spawn for transforming files. This defaults to the number of the cores available on your machine."
},
{
"name": "--sourcemap-output <string>",
"description": "File name where to store the sourcemap file for resulting bundle, ex. /tmp/groups.map"
},
{
"name": "--sourcemap-sources-root <string>",
"description": "Path to make sourcemap's sources entries relative to, ex. /root/dir"
},
{
"name": "--sourcemap-use-absolute-path",
"description": "Report SourceMapURL using its full path",
"default": false
},
{
"name": "--assets-dest <string>",
"description": "Directory name where to store assets referenced in the bundle"
},
{
"name": "--unstable-transform-profile <string>",
"description": "Experimental, transform JS for a specific JS engine. Currently supported: hermes, hermes-canary, default",
"default": "default"
},
{
"name": "--asset-catalog-dest [string]",
"description": "Path where to create an iOS Asset Catalog for images"
},
{
"name": "--reset-cache",
"description": "Removes cached files",
"default": false
},
{
"name": "--read-global-cache",
"description": "Try to fetch transformed JS code from the global cache, if configured.",
"default": false
},
{
"name": "--config <string>",
"description": "Path to the CLI configuration file"
},
{
"name": "--resolver-option <string...>",
"description": "Custom resolver options of the form key=value. URL-encoded. May be specified multiple times."
}
]
},
{
"name": "start",
"description": "Start the React Native development server.",
"options": [
{
"name": "--port <number>"
},
{
"name": "--host <string>",
"default": ""
},
{
"name": "--projectRoot <path>",
"description": "Path to a custom project root"
},
{
"name": "--watchFolders <list>",
"description": "Specify any additional folders to be added to the watch list"
},
{
"name": "--assetPlugins <list>",
"description": "Specify any additional asset plugins to be used by the packager by full filepath"
},
{
"name": "--sourceExts <list>",
"description": "Specify any additional source extensions to be used by the packager"
},
{
"name": "--max-workers <number>",
"description": "Specifies the maximum number of workers the worker-pool will spawn for transforming files. This defaults to the number of the cores available on your machine."
},
{
"name": "--transformer <string>",
"description": "Specify a custom transformer to be used"
},
{
"name": "--reset-cache, --resetCache",
"description": "Removes cached files"
},
{
"name": "--custom-log-reporter-path, --customLogReporterPath <string>",
"description": "Path to a JavaScript file that exports a log reporter as a replacement for TerminalReporter"
},
{
"name": "--https",
"description": "Enables https connections to the server"
},
{
"name": "--key <path>",
"description": "Path to custom SSL key"
},
{
"name": "--cert <path>",
"description": "Path to custom SSL cert"
},
{
"name": "--config <string>",
"description": "Path to the CLI configuration file"
},
{
"name": "--no-interactive",
"description": "Disables interactive mode"
},
{
"name": "--experimental-debugger",
"description": "[Experimental] Enable the new debugger experience and 'j' to debug. This enables the new frontend experience only: connection reliability and some basic features are unstable in this release."
}
]
},
{
"name": "codegen",
"options": [
{
"name": "--path <path>",
"description": "Path to the React Native project root.",
"default": "E:\\git_sources\\Debug_0.75.0-rc.4\\RN_0.75.0-rc.4_build_failure\\ReproducerApp"
},
{
"name": "--platform <string>",
"description": "Target platform. Supported values: \"android\", \"ios\", \"all\".",
"default": "all"
},
{
"name": "--outputPath <path>",
"description": "Path where generated artifacts will be output to."
}
]
},
{
"name": "log-ios",
"description": "starts iOS device syslog tail",
"options": [
{
"name": "-i --interactive",
"description": "Explicitly select simulator to tail logs from. By default it will tail logs from the first booted and available simulator."
}
]
},
{
"name": "run-ios",
"description": "builds your app and starts it on iOS simulator",
"examples": [
{
"desc": "Run on a different simulator, e.g. iPhone SE (2nd generation)",
"cmd": "npx react-native run-ios --simulator \"iPhone SE (2nd generation)\""
},
{
"desc": "Run on a connected device, e.g. Max's iPhone",
"cmd": "npx react-native run-ios --device \"Max's iPhone\""
},
{
"desc": "Run on the AppleTV simulator",
"cmd": "npx react-native run-ios --simulator \"Apple TV\" --scheme \"helloworld-tvOS\""
}
],
"options": [
{
"name": "--no-packager",
"description": "Do not launch packager while running the app"
},
{
"name": "--port <number>",
"default": 8081
},
{
"name": "--terminal <string>",
"description": "Launches the Metro Bundler in a new window using the specified terminal path.",
"default": "cmd.exe"
},
{
"name": "--binary-path <string>",
"description": "Path relative to project root where pre-built .app binary lives."
},
{
"name": "--list-devices",
"description": "List all available iOS devices and simulators and let you choose one to run the app. "
},
{
"name": "--udid <string>",
"description": "Explicitly set the device to use by UDID"
},
{
"name": "--simulator <string>",
"description": "Explicitly set the simulator to use. Optionally set the iOS version between parentheses at the end to match an exact version: \"iPhone 15 (17.0)\""
},
{
"name": "--device [string]",
"description": "Explicitly set the device to use by name or by unique device identifier . If the value is not provided,the app will run on the first available physical device."
},
{
"name": "--mode <string>",
"description": "Explicitly set the scheme configuration to use. This option is case sensitive."
},
{
"name": "--scheme <string>",
"description": "Explicitly set Xcode scheme to use"
},
{
"name": "--destination <string>",
"description": "Explicitly extend destination e.g. \"arch=x86_64\""
},
{
"name": "--verbose",
"description": "Do not use xcbeautify or xcpretty even if installed"
},
{
"name": "--xcconfig [string]",
"description": "Explicitly set xcconfig to use"
},
{
"name": "--buildFolder <string>",
"description": "Location for iOS build artifacts. Corresponds to Xcode's \"-derivedDataPath\"."
},
{
"name": "--extra-params <string>",
"description": "Custom params that will be passed to xcodebuild command."
},
{
"name": "--target <string>",
"description": "Explicitly set Xcode target to use."
},
{
"name": "-i --interactive",
"description": "Explicitly select which scheme and configuration to use before running a build"
},
{
"name": "--force-pods",
"description": "Force CocoaPods installation"
}
]
},
{
"name": "build-ios",
"description": "builds your app for iOS platform",
"examples": [
{
"desc": "Build the app for all iOS devices in Release mode",
"cmd": "npx react-native build-ios --mode \"Release\""
}
],
"options": [
{
"name": "--mode <string>",
"description": "Explicitly set the scheme configuration to use. This option is case sensitive."
},
{
"name": "--scheme <string>",
"description": "Explicitly set Xcode scheme to use"
},
{
"name": "--destination <string>",
"description": "Explicitly extend destination e.g. \"arch=x86_64\""
},
{
"name": "--verbose",
"description": "Do not use xcbeautify or xcpretty even if installed"
},
{
"name": "--xcconfig [string]",
"description": "Explicitly set xcconfig to use"
},
{
"name": "--buildFolder <string>",
"description": "Location for iOS build artifacts. Corresponds to Xcode's \"-derivedDataPath\"."
},
{
"name": "--extra-params <string>",
"description": "Custom params that will be passed to xcodebuild command."
},
{
"name": "--target <string>",
"description": "Explicitly set Xcode target to use."
},
{
"name": "-i --interactive",
"description": "Explicitly select which scheme and configuration to use before running a build"
},
{
"name": "--force-pods",
"description": "Force CocoaPods installation"
}
]
},
{
"name": "log-android",
"description": "starts logkitty"
},
{
"name": "run-android",
"description": "builds your app and starts it on a connected Android emulator or device",
"options": [
{
"name": "--mode <string>",
"description": "Specify your app's build variant"
},
{
"name": "--tasks <list>",
"description": "Run custom Gradle tasks. By default it's \"assembleDebug\". Will override passed mode and variant arguments."
},
{
"name": "--active-arch-only",
"description": "Build native libraries only for the current device architecture for debug builds.",
"default": false
},
{
"name": "--extra-params <string>",
"description": "Custom params passed to gradle build command"
},
{
"name": "-i --interactive",
"description": "Explicitly select build type and flavour to use before running a build"
},
{
"name": "--no-packager",
"description": "Do not launch packager while running the app"
},
{
"name": "--port <number>",
"default": 8081
},
{
"name": "--terminal <string>",
"description": "Launches the Metro Bundler in a new window using the specified terminal path.",
"default": "cmd.exe"
},
{
"name": "--appId <string>",
"description": "Specify an applicationId to launch after build. If not specified, `package` from AndroidManifest.xml will be used.",
"default": ""
},
{
"name": "--appIdSuffix <string>",
"description": "Specify an applicationIdSuffix to launch after build.",
"default": ""
},
{
"name": "--main-activity <string>",
"description": "Name of the activity to start"
},
{
"name": "--device <string>",
"description": "Explicitly set the device to use by name. The value is not required if you have a single device connected."
},
{
"name": "--deviceId <string>",
"description": "**DEPRECATED** Builds your app and starts it on a specific device/simulator with the given device id (listed by running \"adb devices\" on the command line)."
},
{
"name": "--list-devices",
"description": "Lists all available Android devices and simulators and let you choose one to run the app",
"default": false
},
{
"name": "--binary-path <string>",
"description": "Path relative to project root where pre-built .apk binary lives."
},
{
"name": "--user <number>",
"description": "Id of the User Profile you want to install the app on."
}
]
},
{
"name": "build-android",
"description": "builds your app",
"options": [
{
"name": "--mode <string>",
"description": "Specify your app's build variant"
},
{
"name": "--tasks <list>",
"description": "Run custom Gradle tasks. By default it's \"assembleDebug\". Will override passed mode and variant arguments."
},
{
"name": "--active-arch-only",
"description": "Build native libraries only for the current device architecture for debug builds.",
"default": false
},
{
"name": "--extra-params <string>",
"description": "Custom params passed to gradle build command"
},
{
"name": "-i --interactive",
"description": "Explicitly select build type and flavour to use before running a build"
}
]
}
],
"healthChecks": [],
"platforms": {
"ios": {},
"android": {}
},
"assets": [],
"project": {
"ios": {
"sourceDir": "E:\\git_sources\\Debug_0.75.0-rc.4\\RN_0.75.0-rc.4_build_failure\\ReproducerApp\\ios",
"xcodeProject": {
"name": "ReproducerApp.xcodeproj",
"path": ".",
"isWorkspace": false
},
"assets": []
},
"android": {
"sourceDir": "E:\\git_sources\\Debug_0.75.0-rc.4\\RN_0.75.0-rc.4_build_failure\\ReproducerApp\\android",
"appName": "app",
"packageName": "com.reproducerapp",
"applicationId": "com.reproducerapp",
"mainActivity": ".MainActivity",
"assets": []
}
}
} |
this bug comes from this bug #45333 when react-native cli generated autolinking.json file in build\generated\autolinking\ is an empty file. |
this seems to be affecting me on Ubuntu - if this is the same issue, I don't think it's a Windows issue? I took a look at the outputted > rvmob@0.7.0-beta1 npx
> rnc-cli config
{
"root": "/home/rexo/Repos/rvmob",
"reactNativePath": "/home/rexo/Repos/rvmob/node_modules/react-native",
"reactNativeVersion": "0.75",
"dependencies": {
"@notifee/react-native": {
"root": "/home/rexo/Repos/rvmob/node_modules/@notifee/react-native",
"name": "@notifee/react-native",
"platforms": {
"ios": {
"podspecPath": "/home/rexo/Repos/rvmob/node_modules/@notifee/react-native/RNNotifee.podspec",
"version": "7.8.2",
"configurations": [],
"scriptPhases": []
},
"android": {
"sourceDir": "/home/rexo/Repos/rvmob/node_modules/@notifee/react-native/android",
"packageImportPath": "import io.invertase.notifee.NotifeePackage;",
"packageInstance": "new NotifeePackage()",
"buildTypes": [],
"componentDescriptors": [],
"cmakeListsPath": "/home/rexo/Repos/rvmob/node_modules/@notifee/react-native/android/build/generated/source/codegen/jni/CMakeLists.txt",
"cxxModuleCMakeListsModuleName": null,
"cxxModuleCMakeListsPath": null,
"cxxModuleHeaderName": null
}
}
},
"@react-native-async-storage/async-storage": {
"root": "/home/rexo/Repos/rvmob/node_modules/@react-native-async-storage/async-storage",
"name": "@react-native-async-storage/async-storage",
"platforms": {
"ios": {
"podspecPath": "/home/rexo/Repos/rvmob/node_modules/@react-native-async-storage/async-storage/RNCAsyncStorage.podspec",
"version": "1.24.0",
"configurations": [],
"scriptPhases": []
},
"android": {
"sourceDir": "/home/rexo/Repos/rvmob/node_modules/@react-native-async-storage/async-storage/android",
"packageImportPath": "import com.reactnativecommunity.asyncstorage.AsyncStoragePackage;",
"packageInstance": "new AsyncStoragePackage()",
"buildTypes": [],
"libraryName": "rnasyncstorage",
"componentDescriptors": [],
"cmakeListsPath": "/home/rexo/Repos/rvmob/node_modules/@react-native-async-storage/async-storage/android/build/generated/source/codegen/jni/CMakeLists.txt",
"cxxModuleCMakeListsModuleName": null,
"cxxModuleCMakeListsPath": null,
"cxxModuleHeaderName": null
}
}
},
"@react-native-clipboard/clipboard": {
"root": "/home/rexo/Repos/rvmob/node_modules/@react-native-clipboard/clipboard",
"name": "@react-native-clipboard/clipboard",
"platforms": {
"ios": {
"podspecPath": "/home/rexo/Repos/rvmob/node_modules/@react-native-clipboard/clipboard/RNCClipboard.podspec",
"version": "1.14.1",
"configurations": [],
"scriptPhases": []
},
"android": {
"sourceDir": "/home/rexo/Repos/rvmob/node_modules/@react-native-clipboard/clipboard/android",
"packageImportPath": "import com.reactnativecommunity.clipboard.ClipboardPackage;",
"packageInstance": "new ClipboardPackage()",
"buildTypes": [],
"libraryName": "rnclipboard",
"componentDescriptors": [],
"cmakeListsPath": "/home/rexo/Repos/rvmob/node_modules/@react-native-clipboard/clipboard/android/build/generated/source/codegen/jni/CMakeLists.txt",
"cxxModuleCMakeListsModuleName": null,
"cxxModuleCMakeListsPath": null,
"cxxModuleHeaderName": null
}
}
},
"react-native-device-info": {
"root": "/home/rexo/Repos/rvmob/node_modules/react-native-device-info",
"name": "react-native-device-info",
"platforms": {
"ios": {
"podspecPath": "/home/rexo/Repos/rvmob/node_modules/react-native-device-info/RNDeviceInfo.podspec",
"version": "11.1.0",
"configurations": [],
"scriptPhases": []
},
"android": {
"sourceDir": "/home/rexo/Repos/rvmob/node_modules/react-native-device-info/android",
"packageImportPath": "import com.learnium.RNDeviceInfo.RNDeviceInfo;",
"packageInstance": "new RNDeviceInfo()",
"buildTypes": [],
"componentDescriptors": [],
"cmakeListsPath": "/home/rexo/Repos/rvmob/node_modules/react-native-device-info/android/build/generated/source/codegen/jni/CMakeLists.txt",
"cxxModuleCMakeListsModuleName": null,
"cxxModuleCMakeListsPath": null,
"cxxModuleHeaderName": null
}
}
},
"react-native-document-picker": {
"root": "/home/rexo/Repos/rvmob/node_modules/react-native-document-picker",
"name": "react-native-document-picker",
"platforms": {
"ios": {
"podspecPath": "/home/rexo/Repos/rvmob/node_modules/react-native-document-picker/react-native-document-picker.podspec",
"version": "9.3.0",
"configurations": [],
"scriptPhases": []
},
"android": {
"sourceDir": "/home/rexo/Repos/rvmob/node_modules/react-native-document-picker/android",
"packageImportPath": "import com.reactnativedocumentpicker.RNDocumentPickerPackage;",
"packageInstance": "new RNDocumentPickerPackage()",
"buildTypes": [],
"libraryName": "rndocumentpicker",
"componentDescriptors": [],
"cmakeListsPath": "/home/rexo/Repos/rvmob/node_modules/react-native-document-picker/android/build/generated/source/codegen/jni/CMakeLists.txt",
"cxxModuleCMakeListsModuleName": null,
"cxxModuleCMakeListsPath": null,
"cxxModuleHeaderName": null
}
}
},
"react-native-fast-image": {
"root": "/home/rexo/Repos/rvmob/node_modules/react-native-fast-image",
"name": "react-native-fast-image",
"platforms": {
"ios": {
"podspecPath": "/home/rexo/Repos/rvmob/node_modules/react-native-fast-image/RNFastImage.podspec",
"version": "8.6.3",
"configurations": [],
"scriptPhases": []
},
"android": {
"sourceDir": "/home/rexo/Repos/rvmob/node_modules/react-native-fast-image/android",
"packageImportPath": "import com.dylanvann.fastimage.FastImageViewPackage;",
"packageInstance": "new FastImageViewPackage()",
"buildTypes": [],
"componentDescriptors": [],
"cmakeListsPath": "/home/rexo/Repos/rvmob/node_modules/react-native-fast-image/android/build/generated/source/codegen/jni/CMakeLists.txt",
"cxxModuleCMakeListsModuleName": null,
"cxxModuleCMakeListsPath": null,
"cxxModuleHeaderName": null
}
}
},
"react-native-gesture-handler": {
"root": "/home/rexo/Repos/rvmob/node_modules/react-native-gesture-handler",
"name": "react-native-gesture-handler",
"platforms": {
"ios": {
"podspecPath": "/home/rexo/Repos/rvmob/node_modules/react-native-gesture-handler/RNGestureHandler.podspec",
"version": "2.17.1",
"configurations": [],
"scriptPhases": []
},
"android": {
"sourceDir": "/home/rexo/Repos/rvmob/node_modules/react-native-gesture-handler/android",
"packageImportPath": "import com.swmansion.gesturehandler.RNGestureHandlerPackage;",
"packageInstance": "new RNGestureHandlerPackage()",
"buildTypes": [],
"libraryName": "rngesturehandler_codegen",
"componentDescriptors": [
"RNGestureHandlerButtonComponentDescriptor",
"RNGestureHandlerRootViewComponentDescriptor"
],
"cmakeListsPath": "/home/rexo/Repos/rvmob/node_modules/react-native-gesture-handler/android/build/generated/source/codegen/jni/CMakeLists.txt",
"cxxModuleCMakeListsModuleName": null,
"cxxModuleCMakeListsPath": null,
"cxxModuleHeaderName": null
}
}
},
"react-native-get-random-values": {
"root": "/home/rexo/Repos/rvmob/node_modules/react-native-get-random-values",
"name": "react-native-get-random-values",
"platforms": {
"ios": {
"podspecPath": "/home/rexo/Repos/rvmob/node_modules/react-native-get-random-values/react-native-get-random-values.podspec",
"version": "1.11.0",
"configurations": [],
"scriptPhases": []
},
"android": {
"sourceDir": "/home/rexo/Repos/rvmob/node_modules/react-native-get-random-values/android",
"packageImportPath": "import org.linusu.RNGetRandomValuesPackage;",
"packageInstance": "new RNGetRandomValuesPackage()",
"buildTypes": [],
"componentDescriptors": [],
"cmakeListsPath": "/home/rexo/Repos/rvmob/node_modules/react-native-get-random-values/android/build/generated/source/codegen/jni/CMakeLists.txt",
"cxxModuleCMakeListsModuleName": null,
"cxxModuleCMakeListsPath": null,
"cxxModuleHeaderName": null
}
}
},
"react-native-reanimated": {
"root": "/home/rexo/Repos/rvmob/node_modules/react-native-reanimated",
"name": "react-native-reanimated",
"platforms": {
"ios": {
"podspecPath": "/home/rexo/Repos/rvmob/node_modules/react-native-reanimated/RNReanimated.podspec",
"version": "3.12.0",
"configurations": [],
"scriptPhases": []
},
"android": {
"sourceDir": "/home/rexo/Repos/rvmob/node_modules/react-native-reanimated/android",
"packageImportPath": "import com.swmansion.reanimated.ReanimatedPackage;",
"packageInstance": "new ReanimatedPackage()",
"buildTypes": [],
"libraryName": "rnreanimated",
"componentDescriptors": [],
"cmakeListsPath": "/home/rexo/Repos/rvmob/node_modules/react-native-reanimated/android/build/generated/source/codegen/jni/CMakeLists.txt",
"cxxModuleCMakeListsModuleName": null,
"cxxModuleCMakeListsPath": null,
"cxxModuleHeaderName": null
}
}
},
"react-native-svg": {
"root": "/home/rexo/Repos/rvmob/node_modules/react-native-svg",
"name": "react-native-svg",
"platforms": {
"ios": {
"podspecPath": "/home/rexo/Repos/rvmob/node_modules/react-native-svg/RNSVG.podspec",
"version": "15.4.0",
"configurations": [],
"scriptPhases": []
},
"android": {
"sourceDir": "/home/rexo/Repos/rvmob/node_modules/react-native-svg/android",
"packageImportPath": "import com.horcrux.svg.SvgPackage;",
"packageInstance": "new SvgPackage()",
"buildTypes": [],
"libraryName": "rnsvg",
"componentDescriptors": [
"RNSVGCircleComponentDescriptor",
"RNSVGClipPathComponentDescriptor",
"RNSVGDefsComponentDescriptor",
"RNSVGFeColorMatrixComponentDescriptor",
"RNSVGFilterComponentDescriptor",
"RNSVGEllipseComponentDescriptor",
"RNSVGForeignObjectComponentDescriptor",
"RNSVGGroupComponentDescriptor",
"RNSVGImageComponentDescriptor",
"RNSVGLinearGradientComponentDescriptor",
"RNSVGLineComponentDescriptor",
"RNSVGMarkerComponentDescriptor",
"RNSVGMaskComponentDescriptor",
"RNSVGPathComponentDescriptor",
"RNSVGPatternComponentDescriptor",
"RNSVGRadialGradientComponentDescriptor",
"RNSVGRectComponentDescriptor",
"RNSVGSvgViewAndroidComponentDescriptor",
"RNSVGSymbolComponentDescriptor",
"RNSVGTextComponentDescriptor",
"RNSVGTextPathComponentDescriptor",
"RNSVGTSpanComponentDescriptor",
"RNSVGUseComponentDescriptor"
],
"cmakeListsPath": "/home/rexo/Repos/rvmob/node_modules/react-native-svg/android/src/main/jni/CMakeLists.txt",
"cxxModuleCMakeListsModuleName": null,
"cxxModuleCMakeListsPath": null,
"cxxModuleHeaderName": null
}
}
},
"react-native-vector-icons": {
"root": "/home/rexo/Repos/rvmob/node_modules/react-native-vector-icons",
"name": "react-native-vector-icons",
"platforms": {
"ios": {
"podspecPath": "/home/rexo/Repos/rvmob/node_modules/react-native-vector-icons/RNVectorIcons.podspec",
"version": "10.1.0",
"configurations": [],
"scriptPhases": []
},
"android": {
"sourceDir": "/home/rexo/Repos/rvmob/node_modules/react-native-vector-icons/android",
"packageImportPath": "import com.oblador.vectoricons.VectorIconsPackage;",
"packageInstance": "new VectorIconsPackage()",
"buildTypes": [],
"libraryName": "RNVectorIconsSpec",
"componentDescriptors": [],
"cmakeListsPath": "/home/rexo/Repos/rvmob/node_modules/react-native-vector-icons/android/build/generated/source/codegen/jni/CMakeLists.txt",
"cxxModuleCMakeListsModuleName": null,
"cxxModuleCMakeListsPath": null,
"cxxModuleHeaderName": null
}
}
}
},
"commands": [
{
"name": "bundle",
"description": "Build the bundle for the provided JavaScript entry file.",
"options": [
{
"name": "--entry-file <path>",
"description": "Path to the root JS file, either absolute or relative to JS root"
},
{
"name": "--platform <string>",
"description": "Either \"ios\" or \"android\"",
"default": "ios"
},
{
"name": "--transformer <string>",
"description": "Specify a custom transformer to be used"
},
{
"name": "--dev [boolean]",
"description": "If false, warnings are disabled and the bundle is minified",
"default": true
},
{
"name": "--minify [boolean]",
"description": "Allows overriding whether bundle is minified. This defaults to false if dev is true, and true if dev is false. Disabling minification can be useful for speeding up production builds for testing purposes."
},
{
"name": "--bundle-output <string>",
"description": "File name where to store the resulting bundle, ex. /tmp/groups.bundle"
},
{
"name": "--bundle-encoding <string>",
"description": "Encoding the bundle should be written in (https://nodejs.org/api/buffer.html#buffer_buffer).",
"default": "utf8"
},
{
"name": "--max-workers <number>",
"description": "Specifies the maximum number of workers the worker-pool will spawn for transforming files. This defaults to the number of the cores available on your machine."
},
{
"name": "--sourcemap-output <string>",
"description": "File name where to store the sourcemap file for resulting bundle, ex. /tmp/groups.map"
},
{
"name": "--sourcemap-sources-root <string>",
"description": "Path to make sourcemap's sources entries relative to, ex. /root/dir"
},
{
"name": "--sourcemap-use-absolute-path",
"description": "Report SourceMapURL using its full path",
"default": false
},
{
"name": "--assets-dest <string>",
"description": "Directory name where to store assets referenced in the bundle"
},
{
"name": "--unstable-transform-profile <string>",
"description": "Experimental, transform JS for a specific JS engine. Currently supported: hermes, hermes-canary, default",
"default": "default"
},
{
"name": "--asset-catalog-dest [string]",
"description": "Path where to create an iOS Asset Catalog for images"
},
{
"name": "--reset-cache",
"description": "Removes cached files",
"default": false
},
{
"name": "--read-global-cache",
"description": "Try to fetch transformed JS code from the global cache, if configured.",
"default": false
},
{
"name": "--config <string>",
"description": "Path to the CLI configuration file"
},
{
"name": "--resolver-option <string...>",
"description": "Custom resolver options of the form key=value. URL-encoded. May be specified multiple times."
}
]
},
{
"name": "start",
"description": "Start the React Native development server.",
"options": [
{
"name": "--port <number>"
},
{
"name": "--host <string>",
"default": ""
},
{
"name": "--projectRoot <path>",
"description": "Path to a custom project root"
},
{
"name": "--watchFolders <list>",
"description": "Specify any additional folders to be added to the watch list"
},
{
"name": "--assetPlugins <list>",
"description": "Specify any additional asset plugins to be used by the packager by full filepath"
},
{
"name": "--sourceExts <list>",
"description": "Specify any additional source extensions to be used by the packager"
},
{
"name": "--max-workers <number>",
"description": "Specifies the maximum number of workers the worker-pool will spawn for transforming files. This defaults to the number of the cores available on your machine."
},
{
"name": "--transformer <string>",
"description": "Specify a custom transformer to be used"
},
{
"name": "--reset-cache, --resetCache",
"description": "Removes cached files"
},
{
"name": "--custom-log-reporter-path, --customLogReporterPath <string>",
"description": "Path to a JavaScript file that exports a log reporter as a replacement for TerminalReporter"
},
{
"name": "--https",
"description": "Enables https connections to the server"
},
{
"name": "--key <path>",
"description": "Path to custom SSL key"
},
{
"name": "--cert <path>",
"description": "Path to custom SSL cert"
},
{
"name": "--config <string>",
"description": "Path to the CLI configuration file"
},
{
"name": "--no-interactive",
"description": "Disables interactive mode"
},
{
"name": "--experimental-debugger",
"description": "[Experimental] Enable the new debugger experience and 'j' to debug. This enables the new frontend experience only: connection reliability and some basic features are unstable in this release."
}
]
},
{
"name": "codegen",
"options": [
{
"name": "--path <path>",
"description": "Path to the React Native project root.",
"default": "/home/rexo/Repos/rvmob"
},
{
"name": "--platform <string>",
"description": "Target platform. Supported values: \"android\", \"ios\", \"all\".",
"default": "all"
},
{
"name": "--outputPath <path>",
"description": "Path where generated artifacts will be output to."
}
]
},
{
"name": "log-ios",
"description": "starts iOS device syslog tail",
"options": [
{
"name": "-i --interactive",
"description": "Explicitly select simulator to tail logs from. By default it will tail logs from the first booted and available simulator."
}
]
},
{
"name": "run-ios",
"description": "builds your app and starts it on iOS simulator",
"examples": [
{
"desc": "Run on a different simulator, e.g. iPhone SE (2nd generation)",
"cmd": "npx react-native run-ios --simulator \"iPhone SE (2nd generation)\""
},
{
"desc": "Run on a connected device, e.g. Max's iPhone",
"cmd": "npx react-native run-ios --device \"Max's iPhone\""
},
{
"desc": "Run on the AppleTV simulator",
"cmd": "npx react-native run-ios --simulator \"Apple TV\" --scheme \"helloworld-tvOS\""
}
],
"options": [
{
"name": "--no-packager",
"description": "Do not launch packager while running the app"
},
{
"name": "--port <number>",
"default": 8081
},
{
"name": "--terminal <string>",
"description": "Launches the Metro Bundler in a new window using the specified terminal path.",
"default": "xterm-256color"
},
{
"name": "--binary-path <string>",
"description": "Path relative to project root where pre-built .app binary lives."
},
{
"name": "--list-devices",
"description": "List all available iOS devices and simulators and let you choose one to run the app. "
},
{
"name": "--udid <string>",
"description": "Explicitly set the device to use by UDID"
},
{
"name": "--simulator <string>",
"description": "Explicitly set the simulator to use. Optionally set the iOS version between parentheses at the end to match an exact version: \"iPhone 15 (17.0)\""
},
{
"name": "--device [string]",
"description": "Explicitly set the device to use by name or by unique device identifier . If the value is not provided,the app will run on the first available physical device."
},
{
"name": "--mode <string>",
"description": "Explicitly set the scheme configuration to use. This option is case sensitive."
},
{
"name": "--scheme <string>",
"description": "Explicitly set Xcode scheme to use"
},
{
"name": "--destination <string>",
"description": "Explicitly extend destination e.g. \"arch=x86_64\""
},
{
"name": "--verbose",
"description": "Do not use xcbeautify or xcpretty even if installed"
},
{
"name": "--xcconfig [string]",
"description": "Explicitly set xcconfig to use"
},
{
"name": "--buildFolder <string>",
"description": "Location for iOS build artifacts. Corresponds to Xcode's \"-derivedDataPath\"."
},
{
"name": "--extra-params <string>",
"description": "Custom params that will be passed to xcodebuild command."
},
{
"name": "--target <string>",
"description": "Explicitly set Xcode target to use."
},
{
"name": "-i --interactive",
"description": "Explicitly select which scheme and configuration to use before running a build"
},
{
"name": "--force-pods",
"description": "Force CocoaPods installation"
}
]
},
{
"name": "build-ios",
"description": "builds your app for iOS platform",
"examples": [
{
"desc": "Build the app for all iOS devices in Release mode",
"cmd": "npx react-native build-ios --mode \"Release\""
}
],
"options": [
{
"name": "--mode <string>",
"description": "Explicitly set the scheme configuration to use. This option is case sensitive."
},
{
"name": "--scheme <string>",
"description": "Explicitly set Xcode scheme to use"
},
{
"name": "--destination <string>",
"description": "Explicitly extend destination e.g. \"arch=x86_64\""
},
{
"name": "--verbose",
"description": "Do not use xcbeautify or xcpretty even if installed"
},
{
"name": "--xcconfig [string]",
"description": "Explicitly set xcconfig to use"
},
{
"name": "--buildFolder <string>",
"description": "Location for iOS build artifacts. Corresponds to Xcode's \"-derivedDataPath\"."
},
{
"name": "--extra-params <string>",
"description": "Custom params that will be passed to xcodebuild command."
},
{
"name": "--target <string>",
"description": "Explicitly set Xcode target to use."
},
{
"name": "-i --interactive",
"description": "Explicitly select which scheme and configuration to use before running a build"
},
{
"name": "--force-pods",
"description": "Force CocoaPods installation"
}
]
},
{
"name": "log-android",
"description": "starts logkitty"
},
{
"name": "run-android",
"description": "builds your app and starts it on a connected Android emulator or device",
"options": [
{
"name": "--mode <string>",
"description": "Specify your app's build variant"
},
{
"name": "--tasks <list>",
"description": "Run custom Gradle tasks. By default it's \"assembleDebug\". Will override passed mode and variant arguments."
},
{
"name": "--active-arch-only",
"description": "Build native libraries only for the current device architecture for debug builds.",
"default": false
},
{
"name": "--extra-params <string>",
"description": "Custom params passed to gradle build command"
},
{
"name": "-i --interactive",
"description": "Explicitly select build type and flavour to use before running a build"
},
{
"name": "--no-packager",
"description": "Do not launch packager while running the app"
},
{
"name": "--port <number>",
"default": 8081
},
{
"name": "--terminal <string>",
"description": "Launches the Metro Bundler in a new window using the specified terminal path.",
"default": "xterm-256color"
},
{
"name": "--appId <string>",
"description": "Specify an applicationId to launch after build. If not specified, `package` from AndroidManifest.xml will be used.",
"default": ""
},
{
"name": "--appIdSuffix <string>",
"description": "Specify an applicationIdSuffix to launch after build.",
"default": ""
},
{
"name": "--main-activity <string>",
"description": "Name of the activity to start"
},
{
"name": "--device <string>",
"description": "Explicitly set the device to use by name. The value is not required if you have a single device connected."
},
{
"name": "--deviceId <string>",
"description": "**DEPRECATED** Builds your app and starts it on a specific device/simulator with the given device id (listed by running \"adb devices\" on the command line)."
},
{
"name": "--list-devices",
"description": "Lists all available Android devices and simulators and let you choose one to run the app",
"default": false
},
{
"name": "--binary-path <string>",
"description": "Path relative to project root where pre-built .apk binary lives."
},
{
"name": "--user <number>",
"description": "Id of the User Profile you want to install the app on."
}
]
},
{
"name": "build-android",
"description": "builds your app",
"options": [
{
"name": "--mode <string>",
"description": "Specify your app's build variant"
},
{
"name": "--tasks <list>",
"description": "Run custom Gradle tasks. By default it's \"assembleDebug\". Will override passed mode and variant arguments."
},
{
"name": "--active-arch-only",
"description": "Build native libraries only for the current device architecture for debug builds.",
"default": false
},
{
"name": "--extra-params <string>",
"description": "Custom params passed to gradle build command"
},
{
"name": "-i --interactive",
"description": "Explicitly select build type and flavour to use before running a build"
}
]
}
],
"healthChecks": [],
"platforms": {
"ios": {},
"android": {}
},
"assets": [
"./assets/fonts"
],
"project": {
"ios": {
"sourceDir": "/home/rexo/Repos/rvmob/ios",
"xcodeProject": {
"name": "Revvy.xcodeproj",
"path": ".",
"isWorkspace": false
},
"automaticPodsInstallation": false,
"assets": []
},
"android": {
"sourceDir": "/home/rexo/Repos/rvmob/android",
"appName": "app",
"packageName": "site.endl.taiku.rvmob",
"applicationId": "site.endl.taiku.rvmob",
"mainActivity": ".MainActivity",
"assets": []
}
}
} I tweaked the Gradle plugin to silence said output and the resulting JSON file looks normal: {
"root": "/home/rexo/Repos/rvmob",
"reactNativePath": "/home/rexo/Repos/rvmob/node_modules/react-native",
"reactNativeVersion": "0.75",
"etcEtc": "rest as above, ommitted for brevity"
} the build then continues as normal (failing on an unrelated issue in an external library). hope this is useful :3 |
- replaced RNFI with the built-in Image component. not as good but it's actually maintained + this could reduce app sizes further - add temporary RNGP patch (see [here](facebook/react-native#45403 (comment)) for more context) - currently waiting on [reanimated](software-mansion/react-native-reanimated#6185)
Summary: 0.75-rc.5 is currently broken on Windows. This is due to us invoking `npx react-native-community/cli config` without a `cmd /c` prefix. This fixes it by using our function `windowsAwareCommandLine`. The problem is that this required a lot of refactoring since that util was not available for the settings plugin. Fixes facebook#45403 Changelog: [Internal] [Changed] - Fix core autolinking not working on Windows Differential Revision: D60037587
Summary: 0.75-rc.5 is currently broken on Windows. This is due to us invoking `npx react-native-community/cli config` without a `cmd /c` prefix. This fixes it by using our function `windowsAwareCommandLine`. The problem is that this required a lot of refactoring since that util was not available for the settings plugin. Fixes facebook#45403 Changelog: [Internal] [Changed] - Fix core autolinking not working on Windows Differential Revision: D60037587
@lmahoudeau I was able to reproduce the issue on my Windows machine. The fix is here fedbe2d |
@cortinico Thank you very much for the prompt fix. |
I have upgraded to 0.75.0-rc.6, but the same problem still exists... |
Hi @cortinico, unfortunatly this is the same for me too, after updating to 0.75.0-rc.6, I still have the problem, even with the CLI running 'yarn android' on windows. |
Thanks for reporting. Due to a failure in the publishing pipeline, |
@cortinico Thank you very much, the RC7 fixes the problem. |
Description
When trying to build app after updating from 0.74.3 to 0.75.0-rc.4, the build fails with error:
Execution failed for task ':app:generateAutolinkingPackageList'.
Steps to reproduce
React Native Version
0.75.0-rc.4
Affected Platforms
Runtime - Android
Output of
npx react-native info
Stacktrace or Logs
Reproducer
https://github.com/lmahoudeau/RN_0.75.0-rc.4_build_failure
Screenshots and Videos
No response
The text was updated successfully, but these errors were encountered: