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

createjsonpackage fails, missing defaults.json

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.2.1
    • None
    • None
    • Linux
      Node v5.6.0
      npm v3.6.0

    Description

      Fresh install of plugman
      sudo npm install -g plugman

      Create new plugin
      plugman create --name xyz --plugin_id y.x.z --plugin_version 1.0.0

      Attempt to create package.json
      plugman createpackagejson xyz/

      Returns error
      EACCES: permission denied, open '/usr/local/lib/node_modules/plugman/node_modules/cordova-lib/src/plugman/defaults.json'

      This isn't actually a permissions error, defaults.json doesn't exist.

      Attachments

        Activity

          People

            Unassigned Unassigned
            captain_morgan Morgan Allen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: