Skip to content
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

The React Native Build Fails Without installing any dependency #160

Open
vineet-mishra-0001 opened this issue Mar 6, 2025 · 0 comments
Open

Comments

@vineet-mishra-0001
Copy link

vineet-mishra-0001 commented Mar 6, 2025

Initally the app was running , but when i cleaned my build and started to build it again it failed and gave me this huge error.
I tried many steps for this liek -- ./gradlew clean, ./gradlew build, -rm rm -rf ~/.gradle/caches, but its still failing

$ ./gradlew build
Starting a Gradle Daemon, 1 stopped Daemon could not be reused, use --status for details

Task :gradle-plugin:shared:compileKotlin FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':gradle-plugin:shared:compileKotlin'.

Cannot access output property 'classpathSnapshotProperties.classpathSnapshotDir' of task ':gradle-plugin:shared:compileKotlin'. Accessing unreadable inputs or outputs is not supported. Declare the task as untracked by using Task.doNotTrackState(). For more information, please refer to https://docs.gradle.org/8.8/userguide/incremental_build.html#sec:disable-state-tracking in the Gradle documentation.
java.io.IOException: Cannot snapshot C:\Users\ADMIN\OneDrive\Desktop\undefeated.app\node_modules@react-native\gradle-plugin\shared\build\kotlin\compileKotlin\classpath-snapshot\shrunk-classpath-snapshot.bin: not a regular file

  • 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.

BUILD FAILED in 1m
3 actionable tasks: 3 executed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant