Error: spawn EACCES - what is this?


#1

I’m getting this error now, from out of nowhere.

I just built my android release but couldn’t upload as the package name was wrong. I had to update config.xml and now I get this error:

JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_71.jdk/Contents/Home
Error: spawn EACCES

Java is up to date. I’ve removed and added android in cordova and ionic (following tips online) but now I’m just stuck.

Any ideas?


#2

See:


#3

I’ve tried everything in here.

I still get the same error


#4

What does ionic cordova requirements output?
What is your ionic info output?


#5

I managed it by sudo’ing everything.


#6

Well that might have been the problem in the first place? Created the folder with SUDO and therefore having no access to the project without root?


#7

No, I’ve never created a folder with sudo.

I’m having issues with XCode folder permissions now so something is up.

Thankfully new laptop in a couple of weeks so I’ll be doing everything fresh. . .


#8

See here: