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

Improve logic for searching plugin id in case of module already exists in node_modules

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.0
    • None
    • cordova-fetch
    • cordova-7.0.2-dev

    Description

      Steps to reproduce
      There is the issue with searching plugin id if the module already exists in node_modules.

      cordova create sample
      cordova platform add android
      cordova plugin add cordova-plugin-ms-adal
      cordova plugin add ../azure-activedirectory-library-for-cordova (use local folder)

      Get error message:
      Error: Failed to get absolute path to installed module
      This error occurs since folder name in node_modules (cordova-plugin-ms-adal) differs from base name of installation folder (azure-activedirectory-library-for-cordova).

      PR: https://github.com/apache/cordova-lib/pull/555

      Attachments

        Issue Links

          Activity

            People

              Nikita Matrosov Nikita Matrosov
              Nikita Matrosov Nikita Matrosov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: