You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "teo (JIRA)" <ji...@apache.org> on 2014/08/09 22:31:11 UTC

[jira] [Commented] (CB-7281) "cordova plugin add" issues nonsense EACCESS error

    [ https://issues.apache.org/jira/browse/CB-7281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14091895#comment-14091895 ] 

teo commented on CB-7281:
-------------------------

Also happens with "standard" plugins, e.g.:

$ cordova plugin add org.apache.cordova.device
Fetching plugin "org.apache.cordova.device" via plugin registry
Error: EACCES, mkdir '/home/teo/tmp/npm-20912-y6MiEYMX'

> "cordova plugin add" issues nonsense EACCESS error
> --------------------------------------------------
>
>                 Key: CB-7281
>                 URL: https://issues.apache.org/jira/browse/CB-7281
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugins
>         Environment: ubuntu 14.04
>            Reporter: teo
>
> On a freshly created test application targeted at android, which works fine.
> I ran:
> $ cordova plugin add nl.sylvain.cordova.osc
> Fetching plugin "nl.sylvain.cordova.osc" via plugin registry
> Error: EACCES, mkdir '/home/teo/tmp/npm-20870-r97koGWy'
> That doesn't make sense, as /home/teo is my home directory (I was running the above command as "teo"). There's no reason why that mkdir command should get an access denied error (if that's what EACCESS means).
> This worked:
> $ sudo cordova plugin add nl.sylvain.cordova.osc
> however, there's no reason why sudo should be needed.



--
This message was sent by Atlassian JIRA
(v6.2#6252)