Skip to content

Processing node_modules failed. Error: spawn EACCES #1

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

Closed
andrew19881123 opened this issue Sep 14, 2016 · 4 comments
Closed

Processing node_modules failed. Error: spawn EACCES #1

andrew19881123 opened this issue Sep 14, 2016 · 4 comments

Comments

@andrew19881123
Copy link

i cloned the git and i did

nmp install
tns run android

and i received the error: Processing node_modules failed. Error: spawn EACCES

i managed to get the app to build by removing and adding back the android platform

@keesvandieren
Copy link

Reason is gradlew has no executable flag.

chmod +x platform/android/gradlew

@robophil
Copy link

robophil commented Dec 20, 2016

chmod +x platforms/android/gradlew.bat

just to be sure, add the .bat file extension, and platforms is missing an s @keesvandieren

@petekanev
Copy link
Contributor

Project got a much needed clean-up and this should no longer be an issue.

@bastianjoel
Copy link

bastianjoel commented Sep 16, 2017

I've got the same issue after updating Nativescript to the newest version on Ubuntu.
In every project I'm starting I need to run chmod +x platforms/android/gradlew to get the builds running on android.

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