Skip to content

Have CLI doctor check permissions on gradlew script #2127

Description

@paulordbm

Describe the Feature

I've recently cloned a project on a new computer and yarn android was failing without much explanation, only suggesting I run the cli doctor to check my environment. I did have an issue with it not detecting I had Android SDK 33.0 installed, but it was due to me actually not having the Android SDK Command Line Tools version 10.0 installed.

I go on to fix it and now I'm in this interesting state where the cli doctor tells me everything is fine but the android build was still failing with the exact same output. I found out the issue was that I had to chmod +x gradlew in this new machine. So maybe having the cli doctor check for these permissions could be useful.

Possible Implementations

No idea guys, sorry. You are better prepared than me.

Activity

  1. Raj29Kumar commented on Nov 1, 2023

    @Raj29Kumar
  2. szymonrybczak commented on Nov 1, 2023

    @szymonrybczak
    Collaborator

    Hey @Raj29Kumar your comment is not related to this issue. Please create separate issue describing your problem.

  3. szymonrybczak commented on Nov 2, 2023

    @szymonrybczak
    Collaborator

    I think we can add this check, @cortinico WDYT?

  4. cortinico commented on Nov 22, 2023

    @cortinico
    Member

    I personally never noticed gradlew having wrong permissions, but yes, this is a simple check we can add anyway

  5. jeferson-sb commented on Nov 27, 2023

    @jeferson-sb
    Contributor

    @szymonrybczak I will take a look on this one. Just to make sure, Is this something we can add to the healthchecks or is it some other file?

  6. szymonrybczak commented on Nov 28, 2023

    @szymonrybczak
    Collaborator

    @szymonrybczak I will take a look on this one. Just to make sure, Is this something we can add to the healthchecks or is it some other file?

    Yeah, sure

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions