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

Adding plugins by relative path fails when CWD is not the project root

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • None
    • cordova-lib
    • None

    Description

      e.g. cd into the platforms directory, then "cordova plugin add ../../../cordova-plugin-file". It'll try to get it from the registry then fail. The issue is that we chdir() into the project root before the call to add the plugin.

      Attachments

        Activity

          People

            sgrebnov Sergey Grebnov
            agrieve Andrew Grieve
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: