获取错误:spawn EACCES而离子生成android在ubuntu 14.04 [英] getting Error: spawn EACCES while ionic build android in ubuntu 14.04

查看:569
本文介绍了获取错误:spawn EACCES而离子生成android在ubuntu 14.04的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在ionic2开发了一个项目



而我正在做离子生成android我得到这个错误





我的离子信息是



Cordova CLI: 6.3.0



Ionic Framework版本:2.0.0-beta.10



Ionic CLI版本:2.0。 0-beta.36



Ionic App Lib版本:2.0.0-beta.19



ID:Ubuntu说明:Ubuntu 14.04.5 LTS



节点版本:v4.4.7



解决方案



如何解决这个问题? div>

点击此命令

  sudo chmod -R a + rwx / appfolder 

这是由权限问题造成的。有关问题的更多信息此处。 / p>


如果这不能解决您的问题,那么它可能在您的用户配置文件目录中的权限问题。尝试上面的命令在用户目录。需要一些时间才能申请权限。


问候。


i developed one project in ionic2

while i am doing ionic build android i am getting this error

my ionic info is

Cordova CLI: 6.3.0

Ionic Framework Version: 2.0.0-beta.10

Ionic CLI Version: 2.0.0-beta.36

Ionic App Lib Version: 2.0.0-beta.19

OS: Distributor ID: Ubuntu Description: Ubuntu 14.04.5 LTS

Node Version: v4.4.7

I searched in google but no solution works for me..

How can i fix this Bug?

解决方案

hit this command

sudo chmod -R a+rwx /appfolder

It is caused by permission problem. More info on problem here.

If this does not solve your problem then its probably issue of permission in your user profile directory. Try above command on user directory. It will take some time to apply permission.

Regards.

这篇关于获取错误:spawn EACCES而离子生成android在ubuntu 14.04的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆