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

Clean Project Auto Failing #82

Closed
KrisLau opened this issue Sep 21, 2021 · 6 comments
Closed

Clean Project Auto Failing #82

KrisLau opened this issue Sep 21, 2021 · 6 comments

Comments

@KrisLau
Copy link

KrisLau commented Sep 21, 2021

Ran clean project auto in my project directory and got this error:

% react-native clean-project-auto

Executing fully-automated project clean.
Use 'react-native clean-project' for more control
Use `./node_modules/.bin/react-native-clean-project' for total control

Error running 'wipe iOS build artifacts': No matching processes belonging to you were found

Error running 'clean android project': /bin/sh: ./gradlew: Permission denied

❌  Command 'clean android project' failed with code: 126
/Users/newuser/Desktop/Prototype/node_modules/@react-native-community/cli/build/index.js:99
    const message = err.message.replace(/\.$/, '');
                        ^

TypeError: Cannot read property 'message' of undefined
    at handleError (/Users/newuser/Desktop/Prototype/node_modules/@react-native-community/cli/build/index.js:99:25)
    at Command.handleAction (/Users/newuser/Desktop/Prototype/node_modules/@react-native-community/cli/build/index.js:189:7)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
newuser@Epic-Mac-mini Prototype % 

@ElChapitan
Copy link

I just ran into this one as well, did you by chance come up with a solution yet?

@KrisLau
Copy link
Author

KrisLau commented Sep 23, 2021

@ElChapitan nope

@gabgagnon
Copy link

Same problem here.

@pmadruga
Copy link
Owner

Do you have any special permissions on the ./gradlew folder?

@pmadruga
Copy link
Owner

Sorry that this is happening to you. Can you move to #79 as it seems to be duplicated? Then I can get all the feedback there while I'm trying to debug this.

@kwangjaeyoo
Copy link

Same problem

@KrisLau KrisLau closed this as completed Sep 29, 2021
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

5 participants