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

Releasing lock on daemon addresses registry - windows only #652

Open
1 of 2 tasks
Alexufo opened this issue Oct 17, 2024 · 2 comments
Open
1 of 2 tasks

Releasing lock on daemon addresses registry - windows only #652

Alexufo opened this issue Oct 17, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@Alexufo
Copy link

Alexufo commented Oct 17, 2024

Description

Run npx create-react-native-library@latest awesome-library

Packages

  • create-react-native-library
  • react-native-builder-bob

Selected options

What is the name of the npm package? ... react-native-awesome-library
√ What is the description for the package? ... test
√ What is the name of package author? ... test
√ What is the email address for the package author? ... test@example.com
√ What is the URL for the package author? ... http://
√ What is the URL for the repository? ... http://
√ What type of library do you want to develop? » Native module
√ Which languages do you want to use? » Kotlin & Objective-C
√ What type of example app do you want to create? » Test app
✔ Project created successfully at awesome-library!

After yarn inside awesome-library and yarn example android

Nothing will compiled.

After that I moved to awesome-library\example\android and run gradle build --debug and get
image

And the process is endless

Link to repro

default project

Environment

Android Studio Ladybug | 2024.2.1 Patch 1
windows 10*
java 21, java 16


*On mac OS works fine

@Alexufo Alexufo added the bug Something isn't working label Oct 17, 2024
@Alexufo Alexufo changed the title Releasing lock on daemon addresses registry. Releasing lock on daemon addresses registry - windows only Oct 18, 2024
@atlj
Copy link
Collaborator

atlj commented Oct 18, 2024

Hey, sorry if this sounds wild, but could you try to reboot the computer, remove the android/.gradle folder and build again? Seems like this is an issue about globbing within the React Native Community CLI. I couldn't find a GitHub discussion but there was a discussion about this in the React Contributors Discord channel.

cc: @cortinico

@Alexufo
Copy link
Author

Alexufo commented Oct 19, 2024

@atlj thank you. I Reboot pc and clean all java and gradle deps but stil the same issue.

I can reproduce it on react-native-test-app
microsoft/react-native-test-app#2285

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants