Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-7281

"cordova plugin add" issues nonsense EACCESS error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • None
    • None
    • cordova-lib
    • None
    • ubuntu 14.04

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            teo1978 teo
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: