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

autolinkLibrariesFromCommand: process cmd /c npx @react-native-community/cli config exited with error code: 1 #2532

Open
sarwanand24 opened this issue Oct 17, 2024 · 2 comments

Comments

@sarwanand24
Copy link

Settings file 'D:\Tiofy(All Services)\Tiofy\android\settings.gradle' line: 3 A problem occurred evaluating settings 'android'. > ERROR: autolinkLibrariesFromCommand: process cmd /c npx @react-native-community/cli config exited with error code: 1

Below is my settings.gradle file

pluginManagement { includeBuild("../node_modules/@react-native/gradle-plugin") }
plugins { id("com.facebook.react.settings") }
extensions.configure(com.facebook.react.ReactSettingsExtension){ ex -> ex.autolinkLibrariesFromCommand() }
rootProject.name = 'Tiofy'
include ':app'
includeBuild('../node_modules/@react-native/gradle-plugin')

@xiangjiu0918
Copy link

i have received same problem

@ReactNativ
Copy link

I fixed it by deleting the node_modules folder and yarn.lock file,
then running yarn to reinstall dependencies.
This often clears up any conflicts. Let me know if this helps!

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

No branches or pull requests

3 participants