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

Error: EACCES: permission denied - update-notifier-cordova.json

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: cordova-cli
    • Labels:
    • Environment:

      OSX El Capitan
      Jims-MBP:myApp jtryon$ cordova -v
      5.4.0
      Jims-MBP:myApp jtryon$ node -v
      v4.2.2
      Jims-MBP:myApp jtryon$ npm -v
      2.14.7

      Description

      ims-MBP:~ jtryon$ cordova -h
      /usr/local/lib/node_modules/cordova/node_modules/update-notifier/node_modules/configstore/index.js:53
      throw err;
      ^Error: EACCES: permission denied, open '/Users/jtryon/.config/configstore/update-notifier-cordova.json'
      You don't have access to this file. at Error (native)
      at Object.fs.openSync (fs.js:549:18)
      at Object.fs.readFileSync (fs.js:397:15)
      at Object.create.all.get (/usr/local/lib/node_modules/cordova/node_modules/update-notifier/node_modules/configstore/index.js:34:26)
      at Object.Configstore (/usr/local/lib/node_modules/cordova/node_modules/update-notifier/node_modules/configstore/index.js:27:44)
      at new UpdateNotifier (/usr/local/lib/node_modules/cordova/node_modules/update-notifier/index.js:34:17)
      at module.exports (/usr/local/lib/node_modules/cordova/node_modules/update-notifier/index.js:123:23)
      at checkForUpdates (/usr/local/lib/node_modules/cordova/src/cli.js:64:20)
      at cli (/usr/local/lib/node_modules/cordova/src/cli.js:114:5)
      at Object.<anonymous> (/usr/local/lib/node_modules/cordova/bin/cordova:41:1)

        Attachments

          Activity

            People

            • Assignee:
              daserge Sergey Shakhnazarov
              Reporter:
              daserge Sergey Shakhnazarov
            • Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: