嗨,我正在使用react-native最新版本。当我使用./gradlew软件包发行版时,出现以下错误,表示文件已存在。但是我没有发现构建文件夹中存在任何资产。请注意,我不想运行./gradlew assembleRelease。我只想运行./gradlew bundleRelease。如果可以的话,请帮助我。
info Writing bundle output to:, C:\Users\Corona\Desktop\New
info Writing sourcemap output to:, C:\Users\Corona\Desktop\New
info Done writing sourcemap output
info Done writing bundle output
info Copying 46 asset files
error EEXIST: **file already exists**, mkdir 'C:\Users\Corona\Desktop\New'. Run CLI with --verbose flag for more details.
Error: EEXIST: file already exists, mkdir 'C:\Users\Corona\Desktop\New'
> Task :app:bundleReleaseJsAndAssets FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:bundleReleaseJsAndAssets'.
> Process 'command 'npx.cmd'' finished with non-zero exit value 1
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.0.1/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 5m 8s
1 actionable task: 1 executed